Share via


UIShape.CreateShape Method

Definition

Overloads

CreateShape(UIEdgeInsets)

[Foundation.Export("shapeByApplyingInsets:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIShape CreateShape(UIKit.UIEdgeInsets insets);
[<Foundation.Export("shapeByApplyingInsets:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateShape : UIKit.UIEdgeInsets -> UIKit.UIShape
override this.CreateShape : UIKit.UIEdgeInsets -> UIKit.UIShape

Parameters

insets
UIEdgeInsets

Returns

Attributes

Applies to

CreateShape(IUIShapeProvider)

[Foundation.Export("shapeWithProvider:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIShape CreateShape(UIKit.IUIShapeProvider provider);
[<Foundation.Export("shapeWithProvider:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateShape : UIKit.IUIShapeProvider -> UIKit.UIShape

Parameters

provider
IUIShapeProvider

Returns

Attributes

Applies to

CreateShape(UIBezierPath)

[Foundation.Export("shapeWithBezierPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIShape CreateShape(UIKit.UIBezierPath path);
[<Foundation.Export("shapeWithBezierPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateShape : UIKit.UIBezierPath -> UIKit.UIShape

Parameters

Returns

Attributes

Applies to