previous |
start |
next
Graphics Structures (move())
- All graphical classes (points, circles, lines,
messages) implement the move() member
function.
- obj.move(dx, dy) changes the position
of the object, moving the entire object by dx usings in
the x-direction and dy units in the
y-direciton.
- Either or both of dx and dy
can be zero or negative.
previous |
start |
next