MonobjcMonobjc Documented Class Library
FontDescriptorWithNameMatrix Method (fontName, matrix)
NamespacesMonobjc.AppKitNSFontDescriptorFontDescriptorWithNameMatrix(NSString, NSAffineTransform)

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 BasicVisual C++
public static NSFontDescriptor FontDescriptorWithNameMatrix(
	NSString fontName,
	NSAffineTransform matrix
Public Shared Function FontDescriptorWithNameMatrix ( _
	fontName As NSString, _
	matrix As NSAffineTransform _
) As NSFontDescriptor
static NSFontDescriptor^ FontDescriptorWithNameMatrix(
	NSString^ fontName, 
	NSAffineTransform^ matrix
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)