Y()
Jump to navigation
Jump to search
Description
- You can retrieve the current pen positions Y coordinate with the Y() method
Syntax
- #handle Y() - Return the current Y-axis position of the pen
Hints
- Place useful hints about this keyword here
Example
'create a graphic object graphic #g, 800, 600 'locate the drawing pen at 10,10 #g place(10,10) 'retrieve the X coordinate of the pen posX = #g X() 'retrieve the Y coordinate of the pen posY = #g Y() 'print the info in the graphic object #g "\The pen position is ";posX;", ";posY 'display graphic on web page render #g
Useful Procedures
' Place a useful function or sub using this keyword here