scale method

Point scale(
  1. num scaleX,
  2. num scaleY
)

Implementation

Point scale(num scaleX, num scaleY) => Point(x * scaleX, y * scaleY);