inflate method

void inflate(
  1. T dx,
  2. T dy
)

Implementation

void inflate(T dx, T dy) {
  width = width + dx as T;
  height = height + dy as T;
}