Mac Guides | Samples

MonoMac.CoreGraphics.CGPathElement Structure

An individual element on a CGPath.

See Also: CGPathElement

Syntax

public struct CGPathElement

Remarks

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

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

Requirements

Namespace: MonoMac.CoreGraphics
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.CoreGraphics.CGPathElement are listed below.

See Also: ValueType

Public Constructors

Public Fields

Point1PointF. First point.
Point2PointF. Second point.
Point3PointF. Third point.
TypeCGPathElementType. Determines the type of path element.