MonobjcMonobjc Documented Class Library
NSBezierPathElement Enumeration
NamespacesMonobjc.AppKitNSBezierPathElement

Basic path element commands.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSBezierPathElement
Public Enumeration NSBezierPathElement
public enum class NSBezierPathElement
Members
MemberDescription
NSMoveToBezierPathElement

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

This path element does not result in any drawing. Using this command in the middle of a path results in a disconnected line segment.

Contains 1 point.

Available in Mac OS X v10.0 and later.


NSLineToBezierPathElement

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

Lines and rectangles are specified using this path element.

Contains 1 point.

Available in Mac OS X v10.0 and later.


NSCurveToBezierPathElement

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

The points are stored in the following order: controlPoint1, controlPoint2, endPoint. Ovals, arcs, and Bezier curves all use curve elements to specify their geometry.

Contains 3 points.

Available in Mac OS X v10.0 and later.


NSClosePathBezierPathElement

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

Note that the point specified for the Close Path element is essentially the same as the current point.

Available in Mac OS X v10.0 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)