RelDPath (of DPath)¶
-
class
RelDPath¶ Defined in RelDPath.sc.
This is similar to
DPath, but the points are relative to each other.Example usage:
// Move the turtle 10 down, 10 to the right, and then 10 up. (turtle setMotion: RelDPath 0 10 10 0 0 -10 self)
Properties¶
Inherited from DPath:
| Property | Description |
|---|---|
| client | |
| caller | |
| x | |
| y | |
| dx | |
| dy | |
| b-moveCnt | |
| b-i1 | |
| b-i2 | |
| b-di | |
| b-xAxis | |
| b-incr | |
| completed | |
| xLast | |
| yLast | |
| points | |
| value | |
| name |
Methods¶
-
setTarget()
