| Did you know ... | Search Documentation: |
| Get methods |
|event|graphical -> int<-position
is used), compute the distance of this point to the path-line. If the
path is interpolated, the distance to the interpolation is computed.
If the argument is a graphical, use graphical<-distance.
See also line<-distance
and graphical->in_event_area.
<-device
coordinate system) of the last point of the path. See also path<-start.
<-start|event,
max_distance=[int] -> point
See also path<-segment.
Defaults: The default maximum distance (2nd argument) is 10.
Diagnostics: Fails silently if no such point exist.
|event,
accept=[0..] -> point<-position.
May be used to interactively
path->insert
new points:
send(Path, click_gesture(left, '', single,
message(@receiver, insert,
?(@event, position, @receiver?device),
?(@receiver, segment, @event)))).
See also path<-point.
<-end.
<-end