FontMetrics class
The vertical metrics of a font in pixels, relative to the baseline, like Paint.FontMetrics: values above the
baseline are negative, values below it positive.
Constructors
Properties
- ascent ↔ double
-
The recommended distance above the baseline for single spaced text (negative).
getter/setter pair
- bottom ↔ double
-
The lowest point of any glyph below the baseline (positive).
getter/setter pair
- descent ↔ double
-
The recommended distance below the baseline for single spaced text (positive).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- leading ↔ double
-
The recommended additional space between lines of text.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top ↔ double
-
The highest point of any glyph above the baseline (negative).
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited