共用方式為


NSTextBlock.GetWidth(NSTextBlockLayer, NSRectEdge) 方法

定義

[Foundation.Export("widthForLayer:edge:")]
public virtual nfloat GetWidth (AppKit.NSTextBlockLayer layer, AppKit.NSRectEdge edge);
abstract member GetWidth : AppKit.NSTextBlockLayer * AppKit.NSRectEdge -> nfloat
override this.GetWidth : AppKit.NSTextBlockLayer * AppKit.NSRectEdge -> nfloat

參數

edge
NSRectEdge

傳回

屬性

適用於