Contents

mutableCopy()

Creates a mutable copy of an existing graphics path.

Declaration

func mutableCopy() -> CGMutablePath?

Return Value

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

Discussion

You can modify a mutable graphics path by calling the various path geometry functions, such as CGPathAddArc, CGPathAddLineToPoint, and CGPathMoveToPoint.

See Also

Copying a Graphics Path