set method

dynamic set(
  1. dynamic center,
  2. dynamic halfSize,
  3. dynamic rotation
)

Implementation

set(center, halfSize, rotation) {
  this.center = center;
  this.halfSize = halfSize;
  this.rotation = rotation;

  return this;
}