Click or drag to resize

FontIHandler Interface

Platform handler for the Font class

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
[AutoInitializeAttribute(false)]
public interface IHandler : WidgetIHandler

The FontIHandler type exposes the following members.

Properties
  NameDescription
Public propertyAscent
Gets the top y co-ordinate from the baseline to the tallest character ascent
Public propertyBaseline
Gets the offset of the baseline from the drawing point
Public propertyDescent
Gets the bottom y co-ordinate from the baseline to the longest character descent
Public propertyFamily
Gets the family information for this font
Public propertyFamilyName
Gets the name of the family of this font
Public propertyFontDecoration
Gets the decorations applied to the font
Public propertyFontStyle
Gets the style flags for this font
Public propertyLeading
Gets the leading space between each line
Public propertyLineHeight
Gets the height of a single line of the font
Public propertySize
Gets the size of the font in points
Public propertyTypeface
Gets the typeface information for this font
Public propertyXHeight
Gets the height of the lower case 'x' character
Top
Methods
  NameDescription
Public methodCreate(FontTypeface, Single, FontDecoration)
Creates a new font object with the specified typeface and size
Public methodCreate(SystemFont, NullableSingle, FontDecoration)
Creates a new font object with the specified systemFont and optional size
Public methodCreate(FontFamily, Single, FontStyle, FontDecoration)
Creates a new font object
Public methodMeasureString
Measures the specified string to get its size in logical pixels.
Top
See Also