CGPath CGPath Class

Definition

A drawing path is made up of lines, arcs, beziers that can be used to paint.

public class CGPath : IDisposable, ObjCRuntime.INativeObject
type CGPath = class
    interface INativeObject
    interface IDisposable
Inheritance
CGPathCGPath
Implements

Constructors

CGPath() CGPath()

Creates an empty CGPath.

CGPath(CGPath) CGPath(CGPath)

Creates an new CGPath from the provided basePath.

CGPath(IntPtr) CGPath(IntPtr)
CGPath(CGPath, CGAffineTransform) CGPath(CGPath, CGAffineTransform)

Creates an new CGPath from the provided reference path by applying the provided transform

Properties

BoundingBox BoundingBox
CurrentPoint CurrentPoint
Handle Handle

Handle (pointer) to the unmanaged object representation.

IsEmpty IsEmpty
PathBoundingBox PathBoundingBox

Methods

AddArc(nfloat, nfloat, nfloat, nfloat, nfloat, Boolean) AddArc(nfloat, nfloat, nfloat, nfloat, nfloat, Boolean)
AddArc(CGAffineTransform, nfloat, nfloat, nfloat, nfloat, nfloat, Boolean) AddArc(CGAffineTransform, nfloat, nfloat, nfloat, nfloat, nfloat, Boolean)
AddArcToPoint(nfloat, nfloat, nfloat, nfloat, nfloat) AddArcToPoint(nfloat, nfloat, nfloat, nfloat, nfloat)
AddArcToPoint(CGAffineTransform, nfloat, nfloat, nfloat, nfloat, nfloat) AddArcToPoint(CGAffineTransform, nfloat, nfloat, nfloat, nfloat, nfloat)
AddCurveToPoint(CGPoint, CGPoint, CGPoint) AddCurveToPoint(CGPoint, CGPoint, CGPoint)
AddCurveToPoint(CGAffineTransform, CGPoint, CGPoint, CGPoint) AddCurveToPoint(CGAffineTransform, CGPoint, CGPoint, CGPoint)
AddCurveToPoint(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat) AddCurveToPoint(nfloat, nfloat, nfloat, nfloat, nfloat, nfloat)
AddCurveToPoint(CGAffineTransform, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat) AddCurveToPoint(CGAffineTransform, nfloat, nfloat, nfloat, nfloat, nfloat, nfloat)
AddEllipseInRect(CGRect) AddEllipseInRect(CGRect)
AddEllipseInRect(CGAffineTransform, CGRect) AddEllipseInRect(CGAffineTransform, CGRect)
AddLines(CGAffineTransform, CGPoint[], Int32) AddLines(CGAffineTransform, CGPoint[], Int32)
AddLines(CGPoint[], Int32) AddLines(CGPoint[], Int32)
AddLines(CGPoint[]) AddLines(CGPoint[])
AddLines(CGAffineTransform, CGPoint[]) AddLines(CGAffineTransform, CGPoint[])
AddLineToPoint(CGPoint) AddLineToPoint(CGPoint)
AddLineToPoint(CGAffineTransform, CGPoint) AddLineToPoint(CGAffineTransform, CGPoint)
AddLineToPoint(nfloat, nfloat) AddLineToPoint(nfloat, nfloat)
AddLineToPoint(CGAffineTransform, nfloat, nfloat) AddLineToPoint(CGAffineTransform, nfloat, nfloat)
AddPath(CGPath) AddPath(CGPath)
AddPath(CGAffineTransform, CGPath) AddPath(CGAffineTransform, CGPath)
AddQuadCurveToPoint(nfloat, nfloat, nfloat, nfloat) AddQuadCurveToPoint(nfloat, nfloat, nfloat, nfloat)
AddQuadCurveToPoint(CGAffineTransform, nfloat, nfloat, nfloat, nfloat) AddQuadCurveToPoint(CGAffineTransform, nfloat, nfloat, nfloat, nfloat)
AddRect(CGRect) AddRect(CGRect)
AddRect(CGAffineTransform, CGRect) AddRect(CGAffineTransform, CGRect)
AddRects(CGRect[]) AddRects(CGRect[])
AddRects(CGAffineTransform, CGRect[]) AddRects(CGAffineTransform, CGRect[])
AddRects(CGRect[], Int32) AddRects(CGRect[], Int32)
AddRects(CGAffineTransform, CGRect[], Int32) AddRects(CGAffineTransform, CGRect[], Int32)
AddRelativeArc(nfloat, nfloat, nfloat, nfloat, nfloat) AddRelativeArc(nfloat, nfloat, nfloat, nfloat, nfloat)
AddRelativeArc(CGAffineTransform, nfloat, nfloat, nfloat, nfloat, nfloat) AddRelativeArc(CGAffineTransform, nfloat, nfloat, nfloat, nfloat, nfloat)
AddRoundedRect(CGAffineTransform, CGRect, nfloat, nfloat) AddRoundedRect(CGAffineTransform, CGRect, nfloat, nfloat)
AddRoundedRect(CGRect, nfloat, nfloat) AddRoundedRect(CGRect, nfloat, nfloat)
Apply(CGPath+ApplierFunction) Apply(CGPath+ApplierFunction)
CloseSubpath() CloseSubpath()
ContainsPoint(CGPoint, Boolean) ContainsPoint(CGPoint, Boolean)
ContainsPoint(CGAffineTransform, CGPoint, Boolean) ContainsPoint(CGAffineTransform, CGPoint, Boolean)
Copy() Copy()
CopyByDashingPath(CGAffineTransform, nfloat[], nfloat) CopyByDashingPath(CGAffineTransform, nfloat[], nfloat)
CopyByDashingPath(nfloat[], nfloat) CopyByDashingPath(nfloat[], nfloat)
CopyByDashingPath(CGAffineTransform, nfloat[]) CopyByDashingPath(CGAffineTransform, nfloat[])
CopyByDashingPath(nfloat[]) CopyByDashingPath(nfloat[])
CopyByStrokingPath(nfloat, CGLineCap, CGLineJoin, nfloat) CopyByStrokingPath(nfloat, CGLineCap, CGLineJoin, nfloat)
CopyByStrokingPath(CGAffineTransform, nfloat, CGLineCap, CGLineJoin, nfloat) CopyByStrokingPath(CGAffineTransform, nfloat, CGLineCap, CGLineJoin, nfloat)
CopyByTransformingPath(CGAffineTransform) CopyByTransformingPath(CGAffineTransform)
Dispose() Dispose()

Releases the resources used by the CGPath object.

Dispose(Boolean) Dispose(Boolean)

Releases the resources used by the CGPath object.

EllipseFromRect(CGRect, CGAffineTransform) EllipseFromRect(CGRect, CGAffineTransform)
EllipseFromRect(CGRect) EllipseFromRect(CGRect)
Equals(Object) Equals(Object)
Finalize() Finalize()

Finalizer for the CGPath object

FromRect(CGRect) FromRect(CGRect)
FromRect(CGRect, CGAffineTransform) FromRect(CGRect, CGAffineTransform)
FromRoundedRect(CGRect, nfloat, nfloat) FromRoundedRect(CGRect, nfloat, nfloat)
FromRoundedRect(CGRect, nfloat, nfloat, CGAffineTransform) FromRoundedRect(CGRect, nfloat, nfloat, CGAffineTransform)
GetHashCode() GetHashCode()
IsRect(CGRect) IsRect(CGRect)
MoveToPoint(CGPoint) MoveToPoint(CGPoint)
MoveToPoint(CGAffineTransform, CGPoint) MoveToPoint(CGAffineTransform, CGPoint)
MoveToPoint(nfloat, nfloat) MoveToPoint(nfloat, nfloat)
MoveToPoint(CGAffineTransform, nfloat, nfloat) MoveToPoint(CGAffineTransform, nfloat, nfloat)

Operators

Equality(CGPath, CGPath) Equality(CGPath, CGPath)
Inequality(CGPath, CGPath) Inequality(CGPath, CGPath)

Applies to

See also