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
CGPath
Implements

Constructors

CGPath()

Creates an empty CGPath.

CGPath(CGPath)

Creates an new CGPath from the provided basePath.

CGPath(CGPath, CGAffineTransform)

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

CGPath(IntPtr)

Properties

BoundingBox
CurrentPoint
Handle

Handle (pointer) to the unmanaged object representation.

IsEmpty
PathBoundingBox

Methods

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

Releases the resources used by the CGPath object.

Dispose(Boolean)

Releases the resources used by the CGPath object.

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

Finalizer for the CGPath object

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

Operators

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

Applies to

See also