共用方式為


NSFont.FromDescription 方法

定義

多載

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

傳回

屬性

適用於