Click or drag to resize

SystemFontsUser Method

Gets the user font with optional specified size and decoration.

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

Parameters

size (Optional)
Type: SystemNullableSingle
Size for the font, or null for the default system font size.
decoration (Optional)
Type: Eto.DrawingFontDecoration
Decorations to add to the font.

Return Value

Type: Font

[Missing <returns> documentation for "M:Eto.Drawing.SystemFonts.User(System.Nullable{System.Single},Eto.Drawing.FontDecoration)"]

Remarks
On macOS, the system font isn't normally a font that the user would select or use, other than for user interface elements. This should be used instead as the starting font for the user to select.
See Also