Class TextShape
java.lang.Object
com.independentsoft.office.drawing.TextShape
- All Implemented Interfaces:
IGroupElement
The Class TextShape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the shape text body.Gets the transform2 d.booleanChecks if is shape text rectangle.voidsetShapeTextBody(ShapeTextBody shapeTextBody)Sets the shape text body.voidsetShapeTextRectangle(boolean useShapeTextRectangle)Sets the shape text rectangle.voidsetTransform2D(Transform2D transform2D)Sets the transform2 d.toString()
-
Constructor Details
-
TextShape
public TextShape()Instantiates a new text shape.
-
-
Method Details
-
clone
- Specified by:
clonein interfaceIGroupElement- Overrides:
clonein classObject
-
toString
-
getShapeTextBody
Gets the shape text body.- Returns:
- the shape text body
-
setShapeTextBody
Sets the shape text body.- Parameters:
shapeTextBody- the new shape text body
-
isShapeTextRectangle
public boolean isShapeTextRectangle()Checks if is shape text rectangle.- Returns:
- true, if is shape text rectangle
-
setShapeTextRectangle
public void setShapeTextRectangle(boolean useShapeTextRectangle)Sets the shape text rectangle.- Parameters:
useShapeTextRectangle- the new shape text rectangle
-
getTransform2D
Gets the transform2 d.- Returns:
- the transform2 d
-
setTransform2D
Sets the transform2 d.- Parameters:
transform2D- the new transform2 d
-