Dart DocumentationstagexlTextLineMetrics

TextLineMetrics class

class TextLineMetrics {

 String _text;
 int _textIndex;

 num _x = 0.0;
 num _y = 0.0;   // relative to baseline
 num _width = 0.0;
 num _height = 0.0;
 num _ascent = 0.0;
 num _descent = 0.0;
 num _leading = 0.0;
 num _indent = 0.0;

 TextLineMetrics._internal(this._text, this._textIndex);

 //-----------------------------------------------------------------------------------------------

 num get x => _x;
 num get y => _y;

 num get width => _width;
 num get height => _height;

 num get ascent => _ascent;
 num get descent => _descent;
 num get leading => _leading;
 num get indent => _indent;
}

Properties

final num ascent #

num get ascent => _ascent;

final num descent #

num get descent => _descent;

final num height #

num get height => _height;

final num indent #

num get indent => _indent;

final num leading #

num get leading => _leading;

final num width #

num get width => _width;

final num x #

num get x => _x;

final num y #

num get y => _y;