Mac Guides | Samples

MonoMac.CoreText.CTFont Constructor

Syntax

public CTFont (CGFont font, Single size, CGAffineTransform transform, CTFontDescriptor descriptor)

Parameters

font
size
The desired font size. If you specify zero, it will use the system default.
transform
Transformation matrix for the font, if null, it uses the identity matrix.
descriptor
Font descriptor to use to create the font.

Requirements

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