scaleBy method

UPoint scaleBy(
  1. UPoint point
)

Implementation

UPoint scaleBy(UPoint point) {
  return UPoint(x * point.x, y * point.y);
}