multiply method

void multiply([
  1. double dx = 1,
  2. double dy = 1
])

Multiply the coordinates of this GPoint by given dx and dy values.

Implementation

void multiply([double dx = 1, double dy = 1]) {
  x *= dx;
  y *= dy;
}