scale property

  1. @override
NotifyingVector2 get scale
override

The scale factor of this component. The scale can be different along the X and Y dimensions. A scale greater than 1 makes the component bigger, and less than 1 smaller. The scale can also be negative, which results in a mirror reflection along the corresponding axis.

Implementation

@override
NotifyingVector2 get scale => NotifyingVector2.copy(_scale);
  1. @override
set scale (Vector2 scale)
override

Implementation

@override
set scale(Vector2 scale) => _scale = scale;