ShapeElement

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IShapeElement

public class ShapeElement implements IShapeElement

Represents a part of shape with same outline and fill properties.

Methods

MethodDescription
getParentShape()Returns a Shape_PPT for which element was created.
getGraphicsPath()Returns an element’s path.
getFillSource()Returns information about how to fill an element.
getStrokeSource()Returns information about how to stroke an element.

getParentShape()

public final Shape getParentShape()

Returns a Shape_PPT for which element was created. Read-only Shape.

Returns: Shape

getGraphicsPath()

public Shape getGraphicsPath()

Returns an element’s path. Read-only java.awt.geom.GeneralPath.

Returns: Shape

getFillSource()

public final byte getFillSource()

Returns information about how to fill an element. Read-only ShapeElementFillSource.

Returns: byte

getStrokeSource()

public final byte getStrokeSource()

Returns information about how to stroke an element. Read-only ShapeElementStrokeSource.

Returns: byte