편집

다음을 통해 공유


UIBezierPath.FromRoundedRect Method

Definition

Overloads

FromRoundedRect(CGRect, nfloat)

Factory method to create a UIBezierPath from a rounded rectangle.

FromRoundedRect(CGRect, UIRectCorner, CGSize)

Static factory method to create a UIBezierPath from the rounded rectangle described by the parameters.

FromRoundedRect(CGRect, nfloat)

Factory method to create a UIBezierPath from a rounded rectangle.

[Foundation.Export("bezierPathWithRoundedRect:cornerRadius:")]
public static UIKit.UIBezierPath FromRoundedRect (CoreGraphics.CGRect rect, nfloat cornerRadius);
static member FromRoundedRect : CoreGraphics.CGRect * nfloat -> UIKit.UIBezierPath

Parameters

rect
CGRect
cornerRadius
nfloat

Returns

Attributes

Remarks

This can be used from a background thread.

Applies to

FromRoundedRect(CGRect, UIRectCorner, CGSize)

Static factory method to create a UIBezierPath from the rounded rectangle described by the parameters.

[Foundation.Export("bezierPathWithRoundedRect:byRoundingCorners:cornerRadii:")]
public static UIKit.UIBezierPath FromRoundedRect (CoreGraphics.CGRect rect, UIKit.UIRectCorner corners, CoreGraphics.CGSize radii);
static member FromRoundedRect : CoreGraphics.CGRect * UIKit.UIRectCorner * CoreGraphics.CGSize -> UIKit.UIBezierPath

Parameters

rect
CGRect
corners
UIRectCorner
radii
CGSize

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to