|
|||||||||
| 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.shape.shapebase
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. |
documentobjectcollection |
getchildobjects()
gets the child objects of the entity. |
documentobjecttype |
getdocumentobjecttype()
gets the type of the document object. |
java.awt.color |
getfillcolor()
gets the brush color that fills the closed path of the shape. |
shapelinestyle |
getlinestyle()
gets the line style of the stroke. |
java.awt.color |
getstrokecolor()
gets 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). |
boolean |
hasimage()
returns true if the shape has image bytes or links an image. |
void |
setfillcolor(java.awt.color value)
sets the brush color that fills the closed path of the shape. |
void |
setlinestyle(shapelinestyle value)
sets the line style of the stroke. |
void |
setstrokecolor(java.awt.color value)
sets 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.paragraphbase |
|---|
applycharacterformat, applystyle, getancestor, getownerparagraph, getstylename, isdeleterevision, isinsertrevision |
| methods inherited from class com.spire.doc.documentobject |
|---|
deepclone, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, 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 |
| methods inherited from interface com.spire.doc.documents.irunattrsource |
|---|
clearrunattrs, fetchinheritedrunattr, getdirectrunattr, getdirectrunattrbyindex, getdirectrunattrscount, setrunattr |
| constructor detail |
|---|
public shapeobject(idocument doc)
doc - docpublic shapeobject(idocument doc,
shapetype shapetype)
doc - the owner document.shapetype - the type of the shape to create.| method detail |
|---|
public documentobjecttype getdocumentobjecttype()
getdocumentobjecttype in interface idocumentobjectgetdocumentobjecttype in class shapebasepublic characterformat getcharacterformat()
getcharacterformat in class paragraphbasepublic java.awt.color getfillcolor()
color.white
public void setfillcolor(java.awt.color value)
value - colorpublic double getstrokeweight()
public void setstrokeweight(double value)
value - doublepublic java.awt.color getstrokecolor()
color.black *
public void setstrokecolor(java.awt.color value)
value - colorpublic shapelinestyle getlinestyle()
the default value is shapelinestyle.single
public void setlinestyle(shapelinestyle value)
value - shapelinestylepublic boolean hasimage()
public wordart getwordart()
public documentobjectcollection getchildobjects()
paragraphbasegetchildobjects in interface icompositeobjectgetchildobjects in class shapebase
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||