FontIHandlerCreate Method (FontTypeface, Single, FontDecoration) |
Creates a new font object with the specified typeface and size
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax void Create(
FontTypeface typeface,
float size,
FontDecoration decoration
)
Sub Create (
typeface As FontTypeface,
size As Single,
decoration As FontDecoration
)
abstract Create :
typeface : FontTypeface *
size : float32 *
decoration : FontDecoration -> unit
Parameters
- typeface
- Type: Eto.DrawingFontTypeface
Typeface to specify the style (and family) of the font - size
- Type: SystemSingle
Size of the font to create - decoration
- Type: Eto.DrawingFontDecoration
Decorations to apply to the font
See Also