Modifica

Condividi tramite


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, CGAffineTransform)

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

CGPath(CGPath)

Creates an new CGPath from the provided basePath.

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[], Int32)
AddLines(CGAffineTransform, CGPoint[])
AddLines(CGPoint[], Int32)
AddLines(CGPoint[])
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[], Int32)
AddRects(CGAffineTransform, CGRect[])
AddRects(CGRect[], Int32)
AddRects(CGRect[])
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[], nfloat)
CopyByDashingPath(CGAffineTransform, nfloat[])
CopyByDashingPath(nfloat[], nfloat)
CopyByDashingPath(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, CGAffineTransform)
EllipseFromRect(CGRect)
Equals(Object)
Finalize()

Finalizer for the CGPath object

FromRect(CGRect, CGAffineTransform)
FromRect(CGRect)
FromRoundedRect(CGRect, nfloat, nfloat, CGAffineTransform)
FromRoundedRect(CGRect, nfloat, nfloat)
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