setLeftEdge method

void setLeftEdge(
  1. double x
)

Sets the position of the left edge of this LineMetrics box, leaving the right edge in place.

Implementation

void setLeftEdge(double x) {
  _width = right - x;
  _left = x;
  _updateSize();
}