UIShape.CreateShape Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- path
- UIBezierPath
Returns
- Attributes