Click or drag to resize

FontIHandlerCreate Method (FontTypeface, Single, FontDecoration)

Creates a new font object with the specified typeface and size

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
void Create(
	FontTypeface typeface,
	float size,
	FontDecoration decoration
)

Parameters

typeface
Type: Eto.DrawingFontTypeface
Typeface to specify the style (and family) of the font
size
Type: SystemSingle
Size of the font to create
decoration
Type: Eto.DrawingFontDecoration
Decorations to apply to the font
See Also