The coords method returns a list containing x and y coordinates:
($x, $y) = $scale->coords( );
The coordinates indicate the position in which the current value is located in the Scale. You can also pass in a value to locate:
($x, $y) = $scale->coords(value);
Copyright © 2002 O'Reilly & Associates. All rights reserved.