Dimension.ex constructor

Dimension.ex(
  1. num _value
)

Set this CSS Dimension to the specified number of x-heights.

One ex is equal to the x-height of a font's baseline to its mean line, generally the height of the letter "x" in the font, which is usually about half the font-size.

Implementation

Dimension.ex(this._value) : _unit = 'ex';

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/Dimension/Dimension.ex.html