|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ShapeElement
public class ShapeElement
Represents the ShapeElement object.
Method Summary | |
---|---|
java.awt.Paint |
createBrush()
Creates and returns a brush to fill an element or null if you don't have to. |
java.awt.Stroke |
createPen()
Creates and returns a pen to draw an element or null if you don't have to. |
int |
getElementType()
Returns information about which part of shape an element represents. |
ShapeElementFill |
getFill()
Returns an element's fill information if getFillSource() == ShapeElementFillSource.OWN_FILL or null otherwise. |
int |
getFillSource()
Returns information about how to fill an element. |
java.awt.geom.GeneralPath |
getGeneralPath()
Returns the shape element's path. |
Shape |
getParentShape()
Returns the Shape for which element was created. |
ShapeElementStroke |
getStroke()
Returns an element's stroke information, if getStrokeSource() == ShapeElementStrokeSource.OWN_STROKE or null otherwise. |
int |
getStrokeSource()
Returns information about how to stroke an element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Shape getParentShape()
public java.awt.geom.GeneralPath getGeneralPath()
public int getElementType()
ShapeElementType
.public int getFillSource()
ShapeElementFillSource
.public ShapeElementFill getFill()
public int getStrokeSource()
ShapeElementStrokeSource
.public ShapeElementStroke getStroke()
public java.awt.Paint createBrush()
public java.awt.Stroke createPen()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |