public class Position extends AbstractConfigurationObject
Constructor and Description |
---|
Position() |
Modifier and Type | Method and Description |
---|---|
HorizontalAlign |
getHorizontalAlign() |
VerticalAlign |
getVerticalAlign() |
Number |
getX() |
Number |
getY() |
void |
setHorizontalAlign(HorizontalAlign horizontalAlign)
The horizontal alignment of the credits.
|
void |
setVerticalAlign(VerticalAlign verticalAlign)
Sets the vertical alignment of the credits.
|
void |
setX(Number x)
The X position of the credits.
|
void |
setY(Number y)
The Y position of the credits.
|
public VerticalAlign getVerticalAlign()
setVerticalAlign(VerticalAlign)
public void setVerticalAlign(VerticalAlign verticalAlign)
VerticalAlign.TOP
, VerticalAlign.MIDDLE
and
VerticalAlign.BOTTOM
. Defaults to VerticalAlign.TOP
.verticalAlign
- the align to setpublic HorizontalAlign getHorizontalAlign()
setHorizontalAlign(HorizontalAlign)
public void setHorizontalAlign(HorizontalAlign horizontalAlign)
HorizontalAlign.LEFT
, HorizontalAlign.CENTER
and
HorizontalAlign.RIGHT
. Defaults to HorizontalAlign.CENTER
.horizontalAlign
- the alignment to setpublic Number getX()
setX(Number)
public void setX(Number x)
x
- the X position to setpublic Number getY()
setY(Number)
public void setY(Number y)
y
- the Y position to setCopyright © 2019. All rights reserved.