Instance Method

transform(_:)

Creates and returns a new NSBezierPath object with each point in the given path transformed by the receiver.

Declaration

func transform(_ path: NSBezierPath) -> NSBezierPath

Parameters

aPath

An object representing the bezier path to be used in the transformation.

Discussion

The original NSBezierPath object is not modified.

See Also

Transforming Data and Objects

func transform(NSPoint) -> NSPoint

Applies the receiver’s transform to the specified point and returns the result.

func transform(NSSize) -> NSSize

Applies the receiver’s transform to the specified size and returns the results.