interface Scalable {
    getScale(): number;
    getScaleX(): number;
    getScaleY(): number;
    setScale(newScale): void;
    setScaleX(newScale): void;
    setScaleY(newScale): void;
}

Implemented by

Methods

  • Get the scale of the object (or the geometric mean of the X and Y scale in case they are different).

    Returns number

    the scale of the object (or the geometric mean of the X and Y scale in case they are different).