Enumeration

NSBezierPathElement

Basic path element commands.

Declaration

typedef enum NSBezierPathElement : NSUInteger {
    ...
} NSBezierPathElement;

Overview

These commands are enough to define all of the possible path shapes. Each command has one or more points that contain information needed to position the path element. Most path elements use the current drawing point as the starting point for drawing. For more details, see Paths.

Topics

Constants

NSMoveToBezierPathElement

Moves the path object’s current drawing point to the specified point.

Deprecated
NSLineToBezierPathElement

Creates a straight line from the current drawing point to the specified point.

Deprecated
NSCurveToBezierPathElement

Creates a curved line segment from the current point to the specified endpoint using two control points to define the curve.

Deprecated
NSClosePathBezierPathElement

Marks the end of the current subpath at the specified point.

Deprecated