|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.fields.ParagraphBase
com.spire.doc.fields.shapes.ShapeBase
com.spire.doc.fields.shapes.Shape
com.spire.doc.fields.ShapeObject
public class ShapeObject
Constructor Summary | |
---|---|
ShapeObject(IDocument doc)
Ctor. |
|
ShapeObject(IDocument doc,
ShapeType shapeType)
Creates a new shape object. |
Method Summary | |
---|---|
CharacterFormat |
getCharacterFormat()
Gets shape object's character format. |
Chart |
getChart()
Returns a chart object. |
DocumentObjectCollection |
getChildObjects()
Gets the child objects of the entity. |
DocumentObjectType |
getDocumentObjectType()
Gets the type of the document object. |
boolean |
getExtrusionEnabled()
|
java.awt.Color |
getFillColor()
Defines the brush color that fills the closed path of the shape. |
LineDashing |
getLineDashing()
Defines the line dashing of the stroke. |
ShapeLineStyle |
getLineStyle()
Defines the line style of the stroke. |
boolean |
getShadowEnabled()
|
java.awt.Color |
getStrokeColor()
Defines the color of a stroke. |
double |
getStrokeWeight()
Defines the brush thickness that strokes the path of a shape in points. |
WordArt |
getWordArt()
Defines the text of the text path (of a WordArt object). |
void |
setFillColor(java.awt.Color value)
Defines the brush color that fills the closed path of the shape. |
void |
setFillTransparency(double value)
Set the fill transparency of the shape. |
void |
setLineDashing(LineDashing value)
Defines the line dashing of the stroke. |
void |
setLineStyle(ShapeLineStyle value)
Defines the line style of the stroke. |
void |
setStrokeColor(java.awt.Color value)
Defines the color of a stroke. |
void |
setStrokeWeight(double value)
Defines the brush thickness that strokes the path of a shape in points. |
Methods inherited from class com.spire.doc.fields.shapes.Shape |
---|
getFirstParagraph, getLastParagraph, hasChart, hasImage |
Methods inherited from class com.spire.doc.fields.ParagraphBase |
---|
applyCharacterFormat, applyStyle, getDeleteRevision, getInsertRevision, getNextWidgetSibling, getOwnerParagraph, getPreviousWidgetSibling, getStyleName, isDeleteRevision, isInsertRevision |
Methods inherited from class com.spire.doc.DocumentObject |
---|
deepClone, getFirstChild, getLastChild, getNextSibling, getOwner, getPreviousSibling, isComposite, prependChild, toString |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
---|
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
Constructor Detail |
---|
public ShapeObject(IDocument doc)
public ShapeObject(IDocument doc, ShapeType shapeType)
doc
- The owner document.shapeType
- The type of the shape to create.Method Detail |
---|
public Chart getChart()
public DocumentObjectType getDocumentObjectType()
getDocumentObjectType
in interface IDocumentObject
getDocumentObjectType
in class Shape
public CharacterFormat getCharacterFormat()
getCharacterFormat
in class ParagraphBase
public java.awt.Color getFillColor()
The default value is
getFillColor
in class Shape
public void setFillColor(java.awt.Color value)
The default value is
setFillColor
in class Shape
public void setFillTransparency(double value)
public double getStrokeWeight()
The default value is 0.75.
getStrokeWeight
in class Shape
public void setStrokeWeight(double value)
The default value is 0.75.
setStrokeWeight
in class Shape
public java.awt.Color getStrokeColor()
The default value is
getStrokeColor
in class Shape
public void setStrokeColor(java.awt.Color value)
The default value is
setStrokeColor
in class Shape
public ShapeLineStyle getLineStyle()
The default value is
public void setLineStyle(ShapeLineStyle value)
The default value is
public LineDashing getLineDashing()
public void setLineDashing(LineDashing value)
public WordArt getWordArt()
public boolean getExtrusionEnabled()
getExtrusionEnabled
in class Shape
public boolean getShadowEnabled()
getShadowEnabled
in class Shape
public DocumentObjectCollection getChildObjects()
getChildObjects
in class ShapeBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |