public class TraitInformation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isAnimatable
Whether this trait can be animated.
|
static short |
PERCENTAGE_FONT_SIZE |
static short |
PERCENTAGE_VIEWPORT_HEIGHT |
static short |
PERCENTAGE_VIEWPORT_SIZE |
static short |
PERCENTAGE_VIEWPORT_WIDTH |
protected short |
percentageInterpretation
What percentages in this trait are relative to.
|
protected int |
type
The SVG type of this trait.
|
Constructor and Description |
---|
TraitInformation(boolean isAnimatable,
int type)
Creates a new TraitInformation object.
|
TraitInformation(boolean isAnimatable,
int type,
short percentageInterpretation)
Creates a new TraitInformation object.
|
Modifier and Type | Method and Description |
---|---|
short |
getPercentageInterpretation()
Returns how percentage values in this trait are resolved.
|
int |
getType()
Returns the SVG type of this trait.
|
boolean |
isAnimatable()
Returns whether this trait is animatable.
|
public static final short PERCENTAGE_FONT_SIZE
public static final short PERCENTAGE_VIEWPORT_WIDTH
public static final short PERCENTAGE_VIEWPORT_HEIGHT
public static final short PERCENTAGE_VIEWPORT_SIZE
protected boolean isAnimatable
protected int type
protected short percentageInterpretation
Copyright © 2022 Apache Software Foundation. All Rights Reserved.