iOS Guides | Samples

CoreGraphics.CGPathElement Structure

An individual element on a CGPath.

See Also: CGPathElement


public struct CGPathElement


Depending on the value of Type, you will use the values in Point1, Point2 and Point3.

CloseSubpathThe end of a subpath.
MoveToPoint, AddLineToPointUse the Point1 value.
AddQuadCurveToPointUse the Point1 and Point2 values.
AddCurveToPointUse the Point1, Point2 and Point3 values.


Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of CoreGraphics.CGPathElement are listed below.

See Also: ValueType

Public Constructors

Public Fields

Point1CGPoint. First point.
Point2CGPoint. Second point.
Point3CGPoint. Third point.
TypeCGPathElementType. Determines the type of path element.