Contents

copy(using:)

Creates an immutable copy of a graphics path transformed by a transformation matrix.

Declaration

func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath?

Parameters

  • transform:

    A pointer to an affine transformation matrix, or NULL if no transformation is needed. If specified, Core Graphics applies the transformation to all elements of the new path.

Return Value

A new, immutable copy of the path. You are responsible for releasing this object.

See Also

Copying a Graphics Path