CellMetrics class
Monospace cell metrics. Width is measured over many glyphs and divided, so sub-pixel advance is captured (fixes integer-rounding column drift).
Constructors
- CellMetrics(double width, double height)
Properties
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
Static Methods
-
measure(
TextStyle style, {int sample = 20}) → CellMetrics