MonoMac.CoreText.CTFontDescriptor Class
Font Descriptors contain a description of font features that can identify a font.

See Also: CTFontDescriptor Members

Syntax

[MonoMac.ObjCRuntime.Since(3, 2)]
public class CTFontDescriptor : MonoMac.ObjCRuntime.INativeObject, IDisposable

Remarks

Font Descriptors contain a description of font features and can completely identify a font. Sometimes the description is not complete enough, and the system will pick a font that matches the specified parameters.

c# Example

var attributes = new CTFontDescriptorAttributes () {
	FamilyName = "Times New Roman",
	Size = 18
};

var fontDescriptor = new CTFontDescriptor (attributes);

Requirements

Namespace: MonoMac.CoreText
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0