scaledSize property

Vector2 get scaledSize

The "physical" size of the component. This is the size of the component as seen from the parent's perspective, and it is equal to size * scale. This is a computed property and cannot be modified by the user.

Implementation

Vector2 get scaledSize {
  return Vector2(width * scale.x.abs(), height * scale.y.abs());
}