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

Method Description
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 Path getGraphicsPath()

Returns an element’s path. Read-only android.graphics.Path.

Returns: android.graphics.Path

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