public class Region extends StyledElement
Modifier and Type | Class and Description |
---|---|
static class |
Region.DisplayAlign |
StyledElement.FontStyle, StyledElement.FontWeight, StyledElement.TextAlign, StyledElement.TextDecoration, StyledElement.Unit
backgroundColor, color, fontFamily, fontSize, fontStyle, fontWeight, styleName, textAlign, textDecoration
Constructor and Description |
---|
Region() |
Modifier and Type | Method and Description |
---|---|
Region.DisplayAlign |
getDisplayAlign()
The display alignment specification.
|
Length |
getExtentX()
The length in the X axis for the region.
|
Length |
getExtentY()
The length in the Y axis for the region.
|
Length |
getOriginX()
The origin X offset for the region.
|
Length |
getOriginY()
The origin Y offset for the region.
|
void |
setDisplayAlign(Region.DisplayAlign displayAlign)
The display alignment specification.
|
void |
setExtentX(Length extentX)
The length in the X axis for the region.
|
void |
setExtentY(Length extentY)
The length in the Y axis for the region.
|
void |
setOriginX(Length originX)
The origin X offset for the region.
|
void |
setOriginY(Length originY)
The origin Y offset for the region.
|
getBackgroundColor, getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getStyleName, getTextAlign, getTextDecoration, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setStyleName, setTextAlign, setTextDecoration
public Length getOriginX()
public void setOriginX(Length originX)
public Length getOriginY()
public void setOriginY(Length originY)
public Length getExtentX()
public void setExtentX(Length extentX)
public Length getExtentY()
public void setExtentY(Length extentY)
public Region.DisplayAlign getDisplayAlign()
public void setDisplayAlign(Region.DisplayAlign displayAlign)