ShapeElement class

ShapeElement class

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

The ShapeElement type exposes the following members:

Properties

PropertyDescription
parent_shapeReturns a Shape_PPT for which element was created.
Read-only Shape.
path_pointsGets an array of points that define the geometry of the element’s path.
path_typesGets an array of byte values that specify the type of each point in the element’s path.

0 Indicates that the point is the start of a figure.


1 Indicates that the point is one of the two endpoints of a line.


3 Indicates that the point is an endpoint or control point of a cubic Bezier spline.


7 Masks all bits except for the three low-order bits, which indicate the point type.


16 Specifies that the corresponding segment is dashed.


32 Specifies that the point is a marker.


128 Specifies that the point is the last point in a closed subpath (figure).


129 Indicates a data point that is both a line segment endpoint and the last point of a closed subpath.
fill_sourceReturns information about how to fill an element.
Read-only ShapeElementFillSource.
stroke_sourceReturns information about how to stroke an element.
Read-only ShapeElementStrokeSource.

See Also