The right edge of the box for left-to-right text; the left edge of the box for right-to-left text.
See also:
direction, which specifies the text direction.
double get end { return (direction == TextDirection.ltr) ? right : left; }