Click or drag to resize

Font Constructor (FontFamily, Single, FontStyle, FontDecoration)

Creates a new instance of the Font class with a specified family, size, and style

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

Parameters

family
Type: Eto.DrawingFontFamily
Family of font to use
size
Type: SystemSingle
Size of the font, in points
style (Optional)
Type: Eto.DrawingFontStyle
Style of the font
decoration (Optional)
Type: Eto.DrawingFontDecoration
Decorations to apply to the font
See Also