discontinuedPackage js_bindings has been discontinued and replaced by typings.

FontMetrics class

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

FontMetrics()
factory

Properties

advances → Iterable<double>

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
baselines → Iterable<Baseline>

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
boundingBoxAscent → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
boundingBoxDescent → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
boundingBoxLeft → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
boundingBoxRight → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
dominantBaseline → Baseline

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
emHeightAscent → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
emHeightDescent → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
fontBoundingBoxAscent → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
fontBoundingBoxDescent → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
fonts → Iterable<Font>

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
height → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double

Available on FontMetrics, provided by the PropsFontMetrics extension

no setter

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