Class TransformGroup2D
java.lang.Object
com.independentsoft.office.drawing.TransformGroup2D
The Class TransformGroup2D.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new transform group2 d.TransformGroup2D(Extents extents)Instantiates a new transform group2 d.TransformGroup2D(Offset offset)Instantiates a new transform group2 d.TransformGroup2D(Offset offset, Extents extents)Instantiates a new transform group2 d.TransformGroup2D(InternalXMLStreamReader reader)Instantiates a new transform group2 d. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the child extents.Gets the child offset.Gets the extents.Gets the offset.intGets the rotation.booleanChecks if is horizontal flip.booleanChecks if is vertical flip.voidsetChildExtents(ChildExtents childExtents)Sets the child extents.voidsetChildOffset(ChildOffset childOffset)Sets the child offset.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
-
TransformGroup2D
public TransformGroup2D()Instantiates a new transform group2 d. -
TransformGroup2D
Instantiates a new transform group2 d.- Parameters:
offset- the offset
-
TransformGroup2D
Instantiates a new transform group2 d.- Parameters:
extents- the extents
-
TransformGroup2D
Instantiates a new transform group2 d.- Parameters:
offset- the offsetextents- the extents
-
TransformGroup2D
Instantiates a new transform group2 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
-
getChildExtents
Gets the child extents.- Returns:
- the child extents
-
setChildExtents
Sets the child extents.- Parameters:
childExtents- the new child extents
-
getChildOffset
Gets the child offset.- Returns:
- the child offset
-
setChildOffset
Sets the child offset.- Parameters:
childOffset- the new child offset
-