Gets a font with the
Serif family and the specified size and style
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Font Serif(
float size,
FontStyle style = FontStyle.None,
FontDecoration decoration = FontDecoration.None
)
Public Shared Function Serif (
size As Single,
Optional style As FontStyle = FontStyle.None,
Optional decoration As FontDecoration = FontDecoration.None
) As Font
static member Serif :
size : float32 *
?style : FontStyle *
?decoration : FontDecoration
(* Defaults:
let _style = defaultArg style FontStyle.None
let _decoration = defaultArg decoration FontDecoration.None
*)
-> Font
Parameters
- size
- Type: SystemSingle
Size 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.Serif(System.Single,Eto.Drawing.FontStyle,Eto.Drawing.FontDecoration)"]
See Also