Language

NSTextBlock.GetWidth(NSTextBlockLayer, CGRectEdge) Method

Definition

[Foundation.Export("widthForLayer:rectEdge:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Runtime.InteropServices.NFloat GetWidth(UIKit.NSTextBlockLayer layer, CoreGraphics.CGRectEdge rectEdge);
[<Foundation.Export("widthForLayer:rectEdge:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetWidth : UIKit.NSTextBlockLayer * CoreGraphics.CGRectEdge -> System.Runtime.InteropServices.NFloat
override this.GetWidth : UIKit.NSTextBlockLayer * CoreGraphics.CGRectEdge -> System.Runtime.InteropServices.NFloat

Parameters

rectEdge
CGRectEdge

Returns

Attributes

Applies to