Class Shape
java.lang.Object
com.independentsoft.office.drawing.Shape
- All Implemented Interfaces:
IGroupElement
The Class Shape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the description.getID()Gets the id.Gets the locking.getName()Gets the name.Gets the shape properties.getStyle()Gets the style.Gets the text shape.booleanisHidden()Checks if is hidden.booleanChecks if is text box.voidsetDescription(String description)Sets the description.voidsetHidden(boolean description)Sets the hidden.voidSets the id.voidsetLocking(ShapeLocking locking)Sets the locking.voidSets the name.voidsetStyle(ShapeStyle style)Sets the style.voidsetTextBox(boolean isTextBox)Sets the text box.voidsetTextShape(TextShape textShape)Sets the text shape.toString()
-
Constructor Details
-
Shape
public Shape()Instantiates a new shape.
-
-
Method Details
-
clone
- Specified by:
clonein interfaceIGroupElement- Overrides:
clonein classObject
-
toString
-
getShapeProperties
Gets the shape properties.- Returns:
- the shape properties
-
getTextShape
Gets the text shape.- Returns:
- the text shape
-
setTextShape
Sets the text shape.- Parameters:
textShape- the new text shape
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
getLocking
Gets the locking.- Returns:
- the locking
-
setLocking
Sets the locking.- Parameters:
locking- the new locking
-
isTextBox
public boolean isTextBox()Checks if is text box.- Returns:
- true, if is text box
-
setTextBox
public void setTextBox(boolean isTextBox)Sets the text box.- Parameters:
isTextBox- the new text box
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
description- the new description
-
isHidden
public boolean isHidden()Checks if is hidden.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(boolean description)Sets the hidden.- Parameters:
description- the new hidden
-