FontsCached Method (FontFamily, 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(
FontFamily family,
float size,
FontStyle style = FontStyle.None,
FontDecoration decoration = FontDecoration.None
)
Public Shared Function Cached (
family As FontFamily,
size As Single,
Optional style As FontStyle = FontStyle.None,
Optional decoration As FontDecoration = FontDecoration.None
) As Font
static member Cached :
family : FontFamily *
size : float32 *
?style : FontStyle *
?decoration : FontDecoration
(* Defaults:
let _style = defaultArg style FontStyle.None
let _decoration = defaultArg decoration FontDecoration.None
*)
-> Font
Parameters
- family
- Type: Eto.DrawingFontFamily
Family 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(Eto.Drawing.FontFamily,System.Single,Eto.Drawing.FontStyle,Eto.Drawing.FontDecoration)"]
See Also