translate method
Moves the LineMetrics box by the specified offset dx
, dy
leaving its
width and height unmodified.
Implementation
void translate(double dx, double dy) {
_left += dx;
_baseline += dy;
}
Moves the LineMetrics box by the specified offset dx
, dy
leaving its
width and height unmodified.
void translate(double dx, double dy) {
_left += dx;
_baseline += dy;
}