編輯

共用方式為


CGPath.FromRect Method

Definition

Overloads

FromRect(CGRect)
FromRect(CGRect, CGAffineTransform)

FromRect(CGRect)

public static CoreGraphics.CGPath FromRect (CoreGraphics.CGRect rectangle);
static member FromRect : CoreGraphics.CGRect -> CoreGraphics.CGPath

Parameters

rectangle
CGRect

Returns

Applies to

FromRect(CGRect, CGAffineTransform)

public static CoreGraphics.CGPath FromRect (CoreGraphics.CGRect rectangle, CoreGraphics.CGAffineTransform transform);
static member FromRect : CoreGraphics.CGRect * CoreGraphics.CGAffineTransform -> CoreGraphics.CGPath

Parameters

rectangle
CGRect
transform
CGAffineTransform

Returns

Applies to