size property

Vector2 get size

Do not modify this directly, since the layers won't be resized if you do.

Implementation

Vector2 get size => _size;
set size (Vector2 newSize)

Implementation

set size(Vector2 newSize) {
  resize(newSize);
}