Getting the Value of a Scale

The get method returns the current value of the Scale:

$value = $scale->get();

You can also specify x and y coordinates and retrieve the value of the Scale at that point:

$value = $scale->get(x, y);