Instance Method

append(_:)

Appends the contents of the specified path object to the receiver’s path.

Declaration

func append(_ path: NSBezierPath)

Parameters

aPath

The path to add to the receiver.

Discussion

This method adds the commands used to create aPath to the end of the receiver’s path. This method does not explicitly try to connect the subpaths in the two objects, although the operations in aPath may still cause that effect.

See Also

Appending Common Shapes to a Path

func appendPoints(NSPointArray, count: Int)

Appends a series of line segments to the receiver’s path.

func appendOval(in: NSRect)

Appends an oval path to the receiver, inscribing the oval in the specified rectangle.

func appendArc(from: NSPoint, to: NSPoint, radius: CGFloat)

Appends an arc to the receiver’s path.

func appendGlyph(NSGlyph, in: NSFont)

Appends an outline of the specified glyph to the receiver’s path.

Deprecated
func appendGlyphs(UnsafeMutablePointer<NSGlyph>, count: Int, in: NSFont)

Appends the outlines of the specified glyphs to the receiver’s path.

Deprecated
func appendPackedGlyphs(UnsafePointer<Int8>)

Appends an array of packed glyphs to the receiver’s path.

Deprecated
func appendRect(NSRect)

Appends a rectangular path to the receiver’s path.

func appendRoundedRect(NSRect, xRadius: CGFloat, yRadius: CGFloat)

Appends a rounded rectangular path to the receiver’s path.