void createBox(num scaleX, num scaleY, [ num rotation = 0.0, num translationX = 0.0, num translationY = 0.0 ])

Source

void createBox(num scaleX, num scaleY, [
  num rotation = 0.0, num translationX = 0.0, num translationY = 0.0]) {

  this.identity();
  this.scale(scaleX, scaleY);
  this.rotate(rotation);
  this.translate(translationX, translationY);
}