Class Tile
java.lang.Object
com.independentsoft.office.drawing.Tile
The Class Tile.
-
Constructor Summary
ConstructorsConstructorDescriptionTile()Instantiates a new tile.Tile(InternalXMLStreamReader reader)Instantiates a new tile. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the alignment.getFlip()Gets the flip.Gets the horizontal offset.intGets the horizontal ratio.Gets the vertical offset.intGets the vertical ratio.voidsetAlignment(RectangleAlignment alignment)Sets the alignment.voidsetFlip(TileFlipMode flip)Sets the flip.voidsetHorizontalOffset(Unit horizontalOffset)Sets the horizontal offset.voidsetHorizontalRatio(int horizontalRatio)Sets the horizontal ratio.voidsetVerticalOffset(Unit verticalOffset)Sets the vertical offset.voidsetVerticalRatio(int verticalRatio)Sets the vertical ratio.toString()
-
Constructor Details
-
Tile
public Tile()Instantiates a new tile. -
Tile
Instantiates a new tile.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getAlignment
Gets the alignment.- Returns:
- the alignment
-
setAlignment
Sets the alignment.- Parameters:
alignment- the new alignment
-
getFlip
Gets the flip.- Returns:
- the flip
-
setFlip
Sets the flip.- Parameters:
flip- the new flip
-
getHorizontalRatio
public int getHorizontalRatio()Gets the horizontal ratio.- Returns:
- the horizontal ratio
-
setHorizontalRatio
public void setHorizontalRatio(int horizontalRatio)Sets the horizontal ratio.- Parameters:
horizontalRatio- the new horizontal ratio
-
getVerticalRatio
public int getVerticalRatio()Gets the vertical ratio.- Returns:
- the vertical ratio
-
setVerticalRatio
public void setVerticalRatio(int verticalRatio)Sets the vertical ratio.- Parameters:
verticalRatio- the new vertical ratio
-
getHorizontalOffset
Gets the horizontal offset.- Returns:
- the horizontal offset
-
setHorizontalOffset
Sets the horizontal offset.- Parameters:
horizontalOffset- the new horizontal offset
-
getVerticalOffset
Gets the vertical offset.- Returns:
- the vertical offset
-
setVerticalOffset
Sets the vertical offset.- Parameters:
verticalOffset- the new vertical offset
-