setSize method

void setSize(
  1. Rectangle<int> size
)

Sets the window size.

TODO(jingbian): Remove this, prefer setter.

Implementation

void setSize(Rectangle<int> size) {
  this.size = size;
}