Class Shape
java.lang.Object
com.independentsoft.office.diagrams.Shape
- All Implemented Interfaces:
IElement,ILayoutNodeElement
The Class Shape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doubleGets the rotation.Gets the shape adjusts.getType()Gets the type.intGets the z order offset.booleanChecks if is hide geometry.booleanChecks if is prevent text editing.booleanChecks if is use image placeholder.voidsetHideGeometry(boolean hideGeometry)Sets the hide geometry.voidsetPreventTextEditing(boolean preventTextEditing)Sets the prevent text editing.voidsetRotation(double rotation)Sets the rotation.voidSets the type.voidsetUseImagePlaceholder(boolean useImagePlaceholder)Sets the use image placeholder.voidsetZOrderOffset(int zOrderOffset)Sets the z order offset.toString()
-
Constructor Details
-
Shape
public Shape()Instantiates a new shape.
-
-
Method Details
-
clone
-
toString
-
getShapeAdjusts
Gets the shape adjusts.- Returns:
- the shape adjusts
-
isUseImagePlaceholder
public boolean isUseImagePlaceholder()Checks if is use image placeholder.- Returns:
- true, if is use image placeholder
-
setUseImagePlaceholder
public void setUseImagePlaceholder(boolean useImagePlaceholder)Sets the use image placeholder.- Parameters:
useImagePlaceholder- the new use image placeholder
-
isHideGeometry
public boolean isHideGeometry()Checks if is hide geometry.- Returns:
- true, if is hide geometry
-
setHideGeometry
public void setHideGeometry(boolean hideGeometry)Sets the hide geometry.- Parameters:
hideGeometry- the new hide geometry
-
isPreventTextEditing
public boolean isPreventTextEditing()Checks if is prevent text editing.- Returns:
- true, if is prevent text editing
-
setPreventTextEditing
public void setPreventTextEditing(boolean preventTextEditing)Sets the prevent text editing.- Parameters:
preventTextEditing- the new prevent text editing
-
getRotation
public double getRotation()Gets the rotation.- Returns:
- the rotation
-
setRotation
public void setRotation(double rotation)Sets the rotation.- Parameters:
rotation- the new rotation
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getZOrderOffset
public int getZOrderOffset()Gets the z order offset.- Returns:
- the z order offset
-
setZOrderOffset
public void setZOrderOffset(int zOrderOffset)Sets the z order offset.- Parameters:
zOrderOffset- the new z order offset
-