toString method

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  if (_start == 0.0)
    return Alignment._stringify(_x, _y);
  if (_x == 0.0)
    return AlignmentDirectional._stringify(_start, _y);
  return Alignment._stringify(_x, _y) + ' + ' + AlignmentDirectional._stringify(_start, 0.0);
}