NSFont.FromDescription 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FromDescription(NSFontDescriptor, NSAffineTransform) | |
FromDescription(NSFontDescriptor, nfloat) |
FromDescription(NSFontDescriptor, NSAffineTransform)
[Foundation.Export("fontWithDescriptor:textTransform:")]
public static AppKit.NSFont FromDescription (AppKit.NSFontDescriptor fontDescriptor, Foundation.NSAffineTransform textTransform);
static member FromDescription : AppKit.NSFontDescriptor * Foundation.NSAffineTransform -> AppKit.NSFont
參數
- fontDescriptor
- NSFontDescriptor
- textTransform
- NSAffineTransform
傳回
- 屬性
適用於
FromDescription(NSFontDescriptor, nfloat)
[Foundation.Export("fontWithDescriptor:size:")]
public static AppKit.NSFont FromDescription (AppKit.NSFontDescriptor fontDescriptor, nfloat fontSize);
static member FromDescription : AppKit.NSFontDescriptor * nfloat -> AppKit.NSFont
參數
- fontDescriptor
- NSFontDescriptor
- fontSize
- nfloat
傳回
- 屬性