Click or drag to resize

Font Constructor (SystemFont, NullableSingle, FontDecoration)

Creates a new instance of the Font class with a specified systemFont and optional custom size

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public Font(
	SystemFont systemFont,
	Nullable<float> size = null,
	FontDecoration decoration = FontDecoration.None


Type: Eto.DrawingSystemFont
Type of system font to create
size (Optional)
Type: SystemNullableSingle
Optional size of the font, in points. If not specified, the default size of the system font is used
decoration (Optional)
Type: Eto.DrawingFontDecoration
Decorations to apply to the font
The system fonts are the same fonts that the standard UI of each platform use for particular areas given the SystemFont enumeration.
See Also