class Size {

    public float getAspectRatio() {
        if (width == 0 || height == 0) {
            return Float.NaN;
        }
        return (float) width / height;
    }

    public  Size(int width, int height);

}