| org.apache.batik.dom.anim.AnimationTarget
All known Subclasses: org.apache.batik.dom.svg.SVGOMElement,
AnimationTarget | public interface AnimationTarget (Code) | | An interface for targets of animation to provide context information.
author: Cameron McCormack version: $Id: AnimationTarget.java 501495 2007-01-30 18:00:36Z dvholten $ |
Method Summary | |
void | addTargetListener(String ns, String an, boolean isCSS, AnimationTargetListener l) Adds a listener for changes to the given attribute value. | Element | getElement() Returns the element. | short | getPercentageInterpretation(String ns, String an, boolean isCSS) Gets how percentage values are interpreted by the given attribute
or property. | AnimatableValue | getUnderlyingValue(String ns, String ln) Returns the underlying value of an animatable XML attribute. | void | removeTargetListener(String ns, String an, boolean isCSS, AnimationTargetListener l) Removes a listener for changes to the given attribute value. | float | svgToUserSpace(float v, short type, short pcInterp) Converts the given SVG length into user units. | void | updateAttributeValue(String ns, String ln, AnimatableValue val) Updates an attribute value in this target. | void | updateOtherValue(String type, AnimatableValue val) Updates a 'other' animation value in this target. | void | updatePropertyValue(String pn, AnimatableValue val) Updates a property value in this target. | boolean | useLinearRGBColorInterpolation() Returns whether color interpolations should be done in linear RGB
color space rather than sRGB. |
PERCENTAGE_FONT_SIZE | short PERCENTAGE_FONT_SIZE(Code) | | |
PERCENTAGE_VIEWPORT_HEIGHT | short PERCENTAGE_VIEWPORT_HEIGHT(Code) | | |
PERCENTAGE_VIEWPORT_SIZE | short PERCENTAGE_VIEWPORT_SIZE(Code) | | |
PERCENTAGE_VIEWPORT_WIDTH | short PERCENTAGE_VIEWPORT_WIDTH(Code) | | |
getPercentageInterpretation | short getPercentageInterpretation(String ns, String an, boolean isCSS)(Code) | | Gets how percentage values are interpreted by the given attribute
or property.
|
svgToUserSpace | float svgToUserSpace(float v, short type, short pcInterp)(Code) | | Converts the given SVG length into user units.
Parameters: v - the SVG length value Parameters: type - the SVG length units (one of theSVGLength.SVG_LENGTH_* constants) Parameters: pcInterp - how to interpretet percentage values (one of theAnimationTarget.PERCENTAGE_* constants) the SVG value in user units |
useLinearRGBColorInterpolation | boolean useLinearRGBColorInterpolation()(Code) | | Returns whether color interpolations should be done in linear RGB
color space rather than sRGB.
|
|
|