Declaration

func draw(inPen pen: any GSPenProtocol & NSObjectProtocol, openPen: (any GSPenProtocol & NSObjectProtocol)?)

Declaration

- (void) drawInPen:(NSObject<GSPenProtocol> *) pen openPen:(NSObject<GSPenProtocol> *) openPen;

Declaration

drawInPen_openPen_(pen: NSObject<GSPenProtocol>, openPen: NSObject<GSPenProtocol>)

Parameters

pen

The pen that receives closed paths and components.

openPen

The pen that receives open paths.

Discussion

Pass nil for openPen to omit open paths. Full-color layers include their paint when pen supports it.

See Also

Pen Drawing