Language

NSTextBlock.GetWidth Method

Definition

Overloads

GetWidth(NSTextBlockLayer, NSRectEdge)

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

Parameters

edge
NSRectEdge

Returns

Attributes

Applies to

GetWidth(NSTextBlockLayer, CGRectEdge)

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

Parameters

rectEdge
CGRectEdge

Returns

Attributes

Applies to