scale method

void scale(
  1. int x,
  2. int y
)

Implementation

void scale(int x, int y){
  size = Size(size.width+x,size.height+y);
}