Overview

The Bézier path properties are derived representations for drawing and inspection. Modifying them does not modify the layer’s shapes.

Pen drawing emits outline commands to an object conforming to GSPenProtocol. Use a separate open pen when open paths must be collected independently.

Draw stacks additionally preserve paint, masks, strokes, transforms, and composition structure according to the features supported by their consumer.

Call prepareDrawing()prepareDrawingprepareDrawing and finishDrawing()finishDrawingfinishDrawing around direct drawing of the layer’s shape hierarchy when path component hints must be applied. Bézier path generation manages this preparation as needed.

Topics

Bezier Paths

Drawing State

Draw Stack

Pen Drawing

See Also