Instance Method

appendBezierPathWithRect:

Appends a rectangular path to the receiver’s path.

Declaration

- (void)appendBezierPathWithRect:(NSRect)rect;

Parameters

aRect

The rectangle describing the path to create.

Discussion

Before adding the rectangle, this method moves the current point to the origin of the rectangle, which implicitly closes the current subpath (if any). The path is constructed by starting at the origin of aRect and adding line segments in a counterclockwise direction. The final segment is added using a closePath message.

See Also

Appending Common Shapes to a Path

- appendBezierPath:

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

- appendBezierPathWithPoints:count:

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

- appendBezierPathWithOvalInRect:

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

- appendBezierPathWithArcFromPoint:toPoint:radius:

Appends an arc to the receiver’s path.

- appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:

Appends an arc of a circle to the receiver’s path.

- appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:

Appends an arc of a circle to the receiver’s path.

- appendBezierPathWithGlyph:inFont:

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

Deprecated
- appendBezierPathWithGlyphs:count:inFont:

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

Deprecated
- appendBezierPathWithPackedGlyphs:

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

Deprecated
- appendBezierPathWithRoundedRect:xRadius:yRadius:

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