Click or drag to resize

FontIHandlerCreate Method (SystemFont, NullableSingle, FontDecoration)

Creates a new font object with the specified systemFont and optional size

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
void Create(
	SystemFont systemFont,
	Nullable<float> size,
	FontDecoration decoration
)

Parameters

systemFont
Type: Eto.DrawingSystemFont
System font to create
size
Type: SystemNullableSingle
Size of font to use, or null to use the system font's default size
decoration
Type: Eto.DrawingFontDecoration
Decorations to apply to the font
See Also