NSFont.FromDescription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- fontDescriptor
- NSFontDescriptor
- textTransform
- NSAffineTransform
Returns
- Attributes
Applies to
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
Parameters
- fontDescriptor
- NSFontDescriptor
- fontSize
- nfloat
Returns
- Attributes