Instance Property


The total number of path elements in the receiver's path.


@property(readonly) NSInteger elementCount;


Each element type corresponds to one of the operations described in Path Elements.

See Also

Accessing Elements of a Path

- elementAtIndex:

Returns the type of path element at the specified index.

- elementAtIndex:associatedPoints:

Gets the element type and (and optionally) the associated points for the path element at the specified index.

- removeAllPoints

Removes all path elements from the receiver, effectively clearing the path.

- setAssociatedPoints:atIndex:

Changes the points associated with the specified path element.