setLeftEdge method
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();
}
Sets the position of the left edge of this LineMetrics box, leaving the right edge in place.
void setLeftEdge(double x) {
_width = right - x;
_left = x;
_updateSize();
}