|
| |
Screen
Objects:
What are they?
Screen objects (ScreenObj) are objects that you can draw on
the screen, you know some of them: athlete, Box
What can we do with them?
This is what you can do with a Screen Object:
Message and type of arguments |
Meaning
|
Arguments |
| place(float
,float) |
place object at new
location |
x,y
coordinates |
| show()
|
show on screen |
none |
| erase()
|
erase from screen |
none |
| resize(float)
|
resize object |
new size
(second dimension optional) |
| absize(float)
|
resize without scaling
|
new size
(second dimension optional) |
| color(int,int)
|
change colors |
color
code of:
filling and contour
(default: white , black) |
| scale(float,float)
|
change scales |
horizontal
scale,
vertical scale. |
| origin(float,float)
|
change origin |
x,y
coordinates of new origin |
|