Class Transform2D
java.lang.Object
com.independentsoft.office.spreadsheet.drawing.Transform2D
The Class Transform2D.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new transform2 d.Transform2D(Extents extents)Instantiates a new transform2 d.Transform2D(Offset offset)Instantiates a new transform2 d.Transform2D(Offset offset, Extents extents)Instantiates a new transform2 d.Transform2D(InternalXMLStreamReader reader)Instantiates a new transform2 d. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the extents.Gets the offset.intGets the rotation.booleanChecks if is horizontal flip.booleanChecks if is vertical flip.voidsetExtents(Extents extents)Sets the extents.voidsetHorizontalFlip(boolean horizontalFlip)Sets the horizontal flip.voidSets the offset.voidsetRotation(int rotation)Sets the rotation.voidsetVerticalFlip(boolean verticalFlip)Sets the vertical flip.toString()
-
Constructor Details
-
Transform2D
public Transform2D()Instantiates a new transform2 d. -
Transform2D
Instantiates a new transform2 d.- Parameters:
offset- the offset
-
Transform2D
Instantiates a new transform2 d.- Parameters:
extents- the extents
-
Transform2D
Instantiates a new transform2 d.- Parameters:
offset- the offsetextents- the extents
-
Transform2D
Instantiates a new transform2 d.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isHorizontalFlip
public boolean isHorizontalFlip()Checks if is horizontal flip.- Returns:
- true, if is horizontal flip
-
setHorizontalFlip
public void setHorizontalFlip(boolean horizontalFlip)Sets the horizontal flip.- Parameters:
horizontalFlip- the new horizontal flip
-
isVerticalFlip
public boolean isVerticalFlip()Checks if is vertical flip.- Returns:
- true, if is vertical flip
-
setVerticalFlip
public void setVerticalFlip(boolean verticalFlip)Sets the vertical flip.- Parameters:
verticalFlip- the new vertical flip
-
getRotation
public int getRotation()Gets the rotation.- Returns:
- the rotation
-
setRotation
public void setRotation(int rotation)Sets the rotation.- Parameters:
rotation- the new rotation
-
getExtents
Gets the extents.- Returns:
- the extents
-
setExtents
Sets the extents.- Parameters:
extents- the new extents
-
getOffset
Gets the offset.- Returns:
- the offset
-
setOffset
Sets the offset.- Parameters:
offset- the new offset
-