TypeMetric class
A class that represents a type metric.
Constructors
- TypeMetric.new({required PointInfo pixelsPerEm, required double ascent, required double descent, required double width, required double height, required double maxAdvance, required double underlinePosition, required double underlineThickness, required SegmentInfo bounds, required PointInfo origin})
-
const
Properties
- ascent → double
-
final
- bounds → SegmentInfo
-
final
- descent → double
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
final
- maxAdvance → double
-
final
- origin → PointInfo
-
final
- pixelsPerEm → PointInfo
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- underlinePosition → double
-
final
- underlineThickness → double
-
final
- width → double
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override