Gets a cached font
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Font Cached(
SystemFont systemFont,
Nullable<float> size = null,
FontDecoration decoration = FontDecoration.None
)
Public Shared Function Cached (
systemFont As SystemFont,
Optional size As Nullable(Of Single) = Nothing,
Optional decoration As FontDecoration = FontDecoration.None
) As Font
static member Cached :
systemFont : SystemFont *
?size : Nullable<float32> *
?decoration : FontDecoration
(* Defaults:
let _size = defaultArg size null
let _decoration = defaultArg decoration FontDecoration.None
*)
-> Font
Parameters
- systemFont
- Type: Eto.DrawingSystemFont
System font to get - size (Optional)
- Type: SystemNullableSingle
Size in points 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.SystemFonts.Cached(Eto.Drawing.SystemFont,System.Nullable{System.Single},Eto.Drawing.FontDecoration)"]
See Also