Instance Method
draw(inPen:)drawInPen:drawInPen_
Emits the layer to a pen.
Declaration
func draw(inPen pen: any GSPenProtocol & NSObjectProtocol)Declaration
- (void) drawInPen:(NSObject<GSPenProtocol> *) pen;Declaration
drawInPen_(pen: NSObject<GSPenProtocol>)Discussion
Open and closed paths are emitted to the same pen. Full-color layers include their paint when the pen supports it.
See Also
Pen Drawing
Emits the layer to separate pens for closed and open paths.
Emits the layer’s shapes without layer-level paint processing.
Emits the layer without full-color paint processing.
Emits the painted drawing operations of a full-color layer to a pen.
Emits the path and error operations of a draw stack to a pen.