Package com.independentsoft.office.vml
Class ShapePath
java.lang.Object
com.independentsoft.office.vml.ShapePath
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class ShapePath.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new shape path.ShapePath(InternalXMLStreamReader reader)Instantiates a new shape path. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the connection point.Gets the connection point connect angles.Gets the connection point type.getID()Gets the id.Gets the limo stretch point.Gets the text box bounding box.getValue()Gets the value.booleanChecks for enable gradient.booleanChecks if is display arrowhead.booleanChecks if is display extrusion.booleanChecks if is display fill.booleanChecks if is display shadow.booleanChecks if is display stroke.booleanChecks if is display text path.booleanChecks if is inset stroke from path.voidsetConnectionPoint(String connectionPoint)Sets the connection point.voidsetConnectionPointConnectAngles(String connectionPointConnectAngles)Sets the connection point connect angles.voidsetConnectionPointType(ConnectType connectionPointType)Sets the connection point type.voidsetDisplayArrowhead(boolean displayArrowhead)Sets the display arrowhead.voidsetDisplayExtrusion(boolean displayExtrusion)Sets the display extrusion.voidsetDisplayFill(boolean displayFill)Sets the display fill.voidsetDisplayShadow(boolean displayShadow)Sets the display shadow.voidsetDisplayStroke(boolean displayStroke)Sets the display stroke.voidsetDisplayTextPath(boolean displayTextPath)Sets the display text path.voidsetEnableGradient(boolean enableGradient)Sets the enable gradient.voidSets the id.voidsetInsetStrokeFromPath(boolean insetStrokeFromPath)Sets the inset stroke from path.voidsetLimoStretchPoint(String limoStretchPoint)Sets the limo stretch point.voidsetTextBoxBoundingBox(String textBoxBoundingBox)Sets the text box bounding box.voidSets the value.toString()
-
Constructor Details
-
ShapePath
public ShapePath()Instantiates a new shape path. -
ShapePath
Instantiates a new shape path.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIGroupElement- Specified by:
clonein interfaceIShapeElement- Specified by:
clonein interfaceIVmlElement- Overrides:
clonein classObject
-
toString
-
isDisplayArrowhead
public boolean isDisplayArrowhead()Checks if is display arrowhead.- Returns:
- true, if is display arrowhead
-
setDisplayArrowhead
public void setDisplayArrowhead(boolean displayArrowhead)Sets the display arrowhead.- Parameters:
displayArrowhead- the new display arrowhead
-
getConnectionPointConnectAngles
Gets the connection point connect angles.- Returns:
- the connection point connect angles
-
setConnectionPointConnectAngles
Sets the connection point connect angles.- Parameters:
connectionPointConnectAngles- the new connection point connect angles
-
getConnectionPoint
Gets the connection point.- Returns:
- the connection point
-
setConnectionPoint
Sets the connection point.- Parameters:
connectionPoint- the new connection point
-
getConnectionPointType
Gets the connection point type.- Returns:
- the connection point type
-
setConnectionPointType
Sets the connection point type.- Parameters:
connectionPointType- the new connection point type
-
isDisplayExtrusion
public boolean isDisplayExtrusion()Checks if is display extrusion.- Returns:
- true, if is display extrusion
-
setDisplayExtrusion
public void setDisplayExtrusion(boolean displayExtrusion)Sets the display extrusion.- Parameters:
displayExtrusion- the new display extrusion
-
isDisplayFill
public boolean isDisplayFill()Checks if is display fill.- Returns:
- true, if is display fill
-
setDisplayFill
public void setDisplayFill(boolean displayFill)Sets the display fill.- Parameters:
displayFill- the new display fill
-
hasEnableGradient
public boolean hasEnableGradient()Checks for enable gradient.- Returns:
- true, if successful
-
setEnableGradient
public void setEnableGradient(boolean enableGradient)Sets the enable gradient.- Parameters:
enableGradient- the new enable gradient
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
isInsetStrokeFromPath
public boolean isInsetStrokeFromPath()Checks if is inset stroke from path.- Returns:
- true, if is inset stroke from path
-
setInsetStrokeFromPath
public void setInsetStrokeFromPath(boolean insetStrokeFromPath)Sets the inset stroke from path.- Parameters:
insetStrokeFromPath- the new inset stroke from path
-
getLimoStretchPoint
Gets the limo stretch point.- Returns:
- the limo stretch point
-
setLimoStretchPoint
Sets the limo stretch point.- Parameters:
limoStretchPoint- the new limo stretch point
-
isDisplayShadow
public boolean isDisplayShadow()Checks if is display shadow.- Returns:
- true, if is display shadow
-
setDisplayShadow
public void setDisplayShadow(boolean displayShadow)Sets the display shadow.- Parameters:
displayShadow- the new display shadow
-
isDisplayStroke
public boolean isDisplayStroke()Checks if is display stroke.- Returns:
- true, if is display stroke
-
setDisplayStroke
public void setDisplayStroke(boolean displayStroke)Sets the display stroke.- Parameters:
displayStroke- the new display stroke
-
getTextBoxBoundingBox
Gets the text box bounding box.- Returns:
- the text box bounding box
-
setTextBoxBoundingBox
Sets the text box bounding box.- Parameters:
textBoxBoundingBox- the new text box bounding box
-
isDisplayTextPath
public boolean isDisplayTextPath()Checks if is display text path.- Returns:
- true, if is display text path
-
setDisplayTextPath
public void setDisplayTextPath(boolean displayTextPath)Sets the display text path.- Parameters:
displayTextPath- the new display text path
-
getValue
Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
val- the new value
-