Package org.apache.batik.anim.dom
Class TraitInformation
- java.lang.Object
-
- org.apache.batik.anim.dom.TraitInformation
-
public class TraitInformation extends java.lang.ObjectStores information about a specific XML attribute or CSS property.- Version:
- $Id: TraitInformation.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisAnimatableWhether this trait can be animated.static shortPERCENTAGE_FONT_SIZEstatic shortPERCENTAGE_VIEWPORT_HEIGHTstatic shortPERCENTAGE_VIEWPORT_SIZEstatic shortPERCENTAGE_VIEWPORT_WIDTHprotected shortpercentageInterpretationWhat percentages in this trait are relative to.protected inttypeThe SVG type of this trait.
-
Constructor Summary
Constructors Constructor Description TraitInformation(boolean isAnimatable, int type)Creates a new TraitInformation object.TraitInformation(boolean isAnimatable, int type, short percentageInterpretation)Creates a new TraitInformation object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetPercentageInterpretation()Returns how percentage values in this trait are resolved.intgetType()Returns the SVG type of this trait.booleanisAnimatable()Returns whether this trait is animatable.
-
-
-
Field Detail
-
PERCENTAGE_FONT_SIZE
public static final short PERCENTAGE_FONT_SIZE
- See Also:
- Constant Field Values
-
PERCENTAGE_VIEWPORT_WIDTH
public static final short PERCENTAGE_VIEWPORT_WIDTH
- See Also:
- Constant Field Values
-
PERCENTAGE_VIEWPORT_HEIGHT
public static final short PERCENTAGE_VIEWPORT_HEIGHT
- See Also:
- Constant Field Values
-
PERCENTAGE_VIEWPORT_SIZE
public static final short PERCENTAGE_VIEWPORT_SIZE
- See Also:
- Constant Field Values
-
isAnimatable
protected boolean isAnimatable
Whether this trait can be animated.
-
type
protected int type
The SVG type of this trait.
-
percentageInterpretation
protected short percentageInterpretation
What percentages in this trait are relative to.
-
-