The type of element found in a path.
Available in Mac OS X v10.2 and later.
| C# | Visual Basic | Visual C++ |
public enum CGPathElementType
Public Enumeration CGPathElementType
public enum class CGPathElementType
| Member | Description |
|---|---|
| kCGPathElementMoveToPoint | The path element that starts a new subpath. See the function CGPathMoveToPoint. Available in Mac OS X v10.2 and later. |
| kCGPathElementAddLineToPoint | The path element that adds a line from the current point to the specified point. See the function CGPathAddLineToPoint. Available in Mac OS X v10.2 and later. |
| kCGPathElementAddQuadCurveToPoint | The path element that adds a quadratic curve from the current point to the specified point. See the function CGPathAddQuadCurveToPoint. Available in Mac OS X v10.2 and later. |
| kCGPathElementAddCurveToPoint | The path element that adds a cubic curve from the current point to the specified point. See the function CGPathAddCurveToPoint. Available in Mac OS X v10.2 and later. |
| kCGPathElementCloseSubpath | The path element that closes and completes a subpath. See the function CGPathCloseSubpath. Available in Mac OS X v10.2 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)