getSize method

Vector2 getSize(
  1. Vector2 target
)

Implementation

Vector2 getSize(Vector2 target) {
  target.setValues(width.toDouble(), height.toDouble());
  return target;
}