Returns a font descriptor with the NSFontNameAttribute and NSFontMatrixAttribute dictionary attributes set to the given values.
Original signature is '+ (NSFontDescriptor *)fontDescriptorWithName:(NSString *)fontName matrix:(NSAffineTransform *)matrix'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSFontDescriptor FontDescriptorWithNameMatrix( NSString fontName, NSAffineTransform matrix )
Public Shared Function FontDescriptorWithNameMatrix ( _ fontName As NSString, _ matrix As NSAffineTransform _ ) As NSFontDescriptor
public: static NSFontDescriptor^ FontDescriptorWithNameMatrix( NSString^ fontName, NSAffineTransform^ matrix )
Parameters
- fontName (NSString)
- The value for NSFontNameAttribute.
- matrix (NSAffineTransform)
- The value for NSFontMatrixAttribute.
Return Value
The new font descriptor.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)