int targetWidth = width; int targetHeight = height;
float targetWidth = width; float targetHeight = height;
    public void scale(int width, int height) {        int targetWidth = width;        int targetHeight = height;                if (targetWidth == -1) {            targetWidth = getWidth() * (targetHeight / getHeight());        }                if (targetHeight == -1) {            targetHeight = getHeight() * (targetWidth / getWidth());        }                _width = targetWidth;        _height = targetHeight;    }