CGPathElement Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An individual element on a CGPath.
public struct CGPathElement
type CGPathElement = struct
- Inheritance
-
CGPathElement
Remarks
Depending on the value of Type, you will use the values in Point1, Point2 and Point3.
CGPathElementType | Description |
---|---|
CloseSubpath | The end of a subpath. |
MoveToPoint, AddLineToPoint | Use the Point1 value. |
AddQuadCurveToPoint | Use the Point1 and Point2 values. |
AddCurveToPoint | Use the Point1, Point2 and Point3 values. |
Constructors
CGPathElement(Int32) |
Fields
Point1 |
First point. |
Point2 |
Second point. |
Point3 |
Third point. |
Type |
Determines the type of path element. |