UIShape.CreateFixedRectShape 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
| Name | Description |
|---|---|
| CreateFixedRectShape(CGRect, NFloat) | |
| CreateFixedRectShape(CGRect, NFloat, UICornerCurve, UIRectCorner) | |
| CreateFixedRectShape(CGRect) |
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