JavaScript EditorFree JavaScript Editor     Perl Manuals 



Main Page

10.13. Determining Coordinates

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);





JavaScript EditorJavaScript Formatter     Perl Manuals


©