|
||||||||
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, when FillSource == ShapeElementFillSource.OwnFill or null otherwise. |
int |
getFillSource()
Returns information about how to fill an element. |
java.awt.geom.GeneralPath |
getGraphicsPath()
Returns an element's path. |
Shape |
getParentShape()
Returns a Shape for which element was created. |
ShapeElementStroke |
getStroke()
Returns an element's stroke information, when StrokeSource == ShapeElementStrokeSource.OwnStroke 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()
Returns a Shape for which element was created.
Read-only Aspose.Slides.Shape
.
public java.awt.geom.GeneralPath getGraphicsPath()
Returns an element's path.
Read-only System.Drawing.Drawing2D.GraphicsPath
.
public int getElementType()
Returns information about which part of shape an element represents.
Read-only Aspose.Slides.ShapeElementType
.
public int getFillSource()
Returns information about how to fill an element.
Read-only Aspose.Slides.ShapeElementFillSource
.
public ShapeElementFill getFill()
Returns an element's fill information,
when FillSource == ShapeElementFillSource.OwnFill or null otherwise.
Read-only Aspose.Slides.ShapeElementFill
.
public int getStrokeSource()
Returns information about how to stroke an element.
Read-only Aspose.Slides.ShapeElementStrokeSource
.
public ShapeElementStroke getStroke()
Returns an element's stroke information,
when StrokeSource == ShapeElementStrokeSource.OwnStroke or null otherwise.
Read-only Aspose.Slides.ShapeElementStroke
.
public java.awt.Paint createBrush()
Creates and returns a brush to fill an element or null if you don't have to. Created brush belongs to caller, so it's up to you to dispose it when you don't need it anymore.
System.Drawing.Brush
object.public java.awt.Stroke createPen()
Creates and returns a pen to draw an element or null if you don't have to. Created pen belongs to caller, so it's up to you to dispose it when you don't need it anymore.
System.Drawing.Pen
object.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |