Click or drag to resize

Font Constructor (FontTypeface, Single, FontDecoration)

Initializes a new instance of the Font class with the specified typeface and size

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Font(
	FontTypeface typeface,
	float size,
	FontDecoration decoration = FontDecoration.None
)

Parameters

typeface
Type: Eto.DrawingFontTypeface
Typeface of the font to create
size
Type: SystemSingle
Size of the font in points
decoration (Optional)
Type: Eto.DrawingFontDecoration
Decorations to apply to the font
See Also