Modifier and Type | Method and Description |
---|---|
StyleConstants.Units |
GraphicSprite.getUnits() |
Modifier and Type | Method and Description |
---|---|
void |
GraphicSprite.setPosition(double x,
double y,
double z,
StyleConstants.Units units)
Reposition this sprite.
|
Modifier and Type | Field and Description |
---|---|
StyleConstants.Units |
Values.units
The values units.
|
StyleConstants.Units |
Value.units
The value units.
|
Modifier and Type | Method and Description |
---|---|
StyleConstants.Units |
Values.getUnits()
Values units.
|
static StyleConstants.Units |
StyleConstants.Units.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StyleConstants.Units[] |
StyleConstants.Units.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Values.setUnits(StyleConstants.Units units)
Change the values units.
|
Constructor and Description |
---|
Value(StyleConstants.Units units,
double value)
New value.
|
Values(StyleConstants.Units units,
double... values)
New value set with one initial value.
|
Modifier and Type | Field and Description |
---|---|
StyleConstants.Units |
StyleSheetParser.Number.units |
Constructor and Description |
---|
Number(float value,
StyleConstants.Units units) |
Modifier and Type | Method and Description |
---|---|
StyleConstants.Units |
Sprite.getUnits() |
Modifier and Type | Method and Description |
---|---|
void |
Sprite.setPosition(StyleConstants.Units units,
double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
Point3 |
DefaultCamera2D.getSpritePosition(GraphicSprite sprite,
Point3 pos,
StyleConstants.Units units)
Compute the real position of a sprite according to its eventual attachment in
graph units.
|
Point3 |
DefaultCamera2D.getSpritePositionEdge(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units) |
Point3 |
DefaultCamera2D.getSpritePositionFree(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units) |
Point3 |
DefaultCamera2D.getSpritePositionNode(GraphicSprite sprite,
Point3 position,
StyleConstants.Units units)
Compute the position of a sprite if attached to a node.
|
Modifier and Type | Method and Description |
---|---|
double |
GraphMetrics.lengthToGu(double value,
StyleConstants.Units units)
Convert a value in given units to graph units.
|
double |
GraphMetrics.lengthToPx(double value,
StyleConstants.Units units)
Convert a value in a given units to pixels.
|