FontIHandlerCreate Method (FontFamily, Single, FontStyle, FontDecoration) |
Creates a new font object
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax void Create(
FontFamily family,
float size,
FontStyle style,
FontDecoration decoration
)
Sub Create (
family As FontFamily,
size As Single,
style As FontStyle,
decoration As FontDecoration
)
abstract Create :
family : FontFamily *
size : float32 *
style : FontStyle *
decoration : FontDecoration -> unit
Parameters
- family
- Type: Eto.DrawingFontFamily
Type of font family - size
- Type: SystemSingle
Size of the font (in points) - style
- Type: Eto.DrawingFontStyle
Style of the font - decoration
- Type: Eto.DrawingFontDecoration
Decorations to apply to the font
See Also