Share via


UIShape.CreateFixedRectShape Method

Definition

Overloads

CreateFixedRectShape(CGRect, NFloat)

[Foundation.Export("fixedRectShapeWithRect:cornerRadius:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIShape CreateFixedRectShape(CoreGraphics.CGRect rect, System.Runtime.InteropServices.NFloat cornerRadius);
[<Foundation.Export("fixedRectShapeWithRect:cornerRadius:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateFixedRectShape : CoreGraphics.CGRect * System.Runtime.InteropServices.NFloat -> UIKit.UIShape

Parameters

rect
CGRect
cornerRadius
NFloat

Returns

Attributes

Applies to

CreateFixedRectShape(CGRect, NFloat, UICornerCurve, UIRectCorner)

[Foundation.Export("fixedRectShapeWithRect:cornerRadius:cornerCurve:maskedCorners:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIShape CreateFixedRectShape(CoreGraphics.CGRect rect, System.Runtime.InteropServices.NFloat cornerRadius, UIKit.UICornerCurve cornerCurve, UIKit.UIRectCorner maskedCorners);
[<Foundation.Export("fixedRectShapeWithRect:cornerRadius:cornerCurve:maskedCorners:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateFixedRectShape : CoreGraphics.CGRect * System.Runtime.InteropServices.NFloat * UIKit.UICornerCurve * UIKit.UIRectCorner -> UIKit.UIShape

Parameters

rect
CGRect
cornerRadius
NFloat
cornerCurve
UICornerCurve
maskedCorners
UIRectCorner

Returns

Attributes

Applies to

CreateFixedRectShape(CGRect)

[Foundation.Export("fixedRectShapeWithRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIShape CreateFixedRectShape(CoreGraphics.CGRect rect);
[<Foundation.Export("fixedRectShapeWithRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateFixedRectShape : CoreGraphics.CGRect -> UIKit.UIShape

Parameters

rect
CGRect

Returns

Attributes

Applies to