Click or drag to resize

FontsCached Method (String, Single, FontStyle, FontDecoration)

Gets a cached font

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

Parameters

familyName
Type: SystemString
Family name of the font
size
Type: SystemSingle
Size in points of the font
style (Optional)
Type: Eto.DrawingFontStyle
Style of the font
decoration (Optional)
Type: Eto.DrawingFontDecoration
Decorations to apply to the font

Return Value

Type: Font

[Missing <returns> documentation for "M:Eto.Drawing.Fonts.Cached(System.String,System.Single,Eto.Drawing.FontStyle,Eto.Drawing.FontDecoration)"]

See Also