| Did you know ... | Search Documentation: |
| Instance variables |
<-closed
says otherwise.
Defaults: @off
|](97, [117,116,111]).event_tolerance
of the line, so a thin line is easy to hit.|](112, [97,105,110,116,101,100])<-pen.
Use this for filled shapes that touch each other, such as the segments
of a chart, as auto lets a shape accept events just outside
it.|](97, [114,101,97])<-fill_rule,
whether or not the path is filled.|](111,
[117,116,108,105,110,101])Defaults: auto
|gradient|image|{foreground,background}*<-fill_rule.
Defaults: @nil (not filled)
winding, a point is inside if
the path goes around it more often in one direction than in the other.
Using even_odd, a point is inside if a ray from it crosses
the path an odd number of times. The difference shows for a sub-path
inside another one, drawn the same way round: with
even_odd it is a hole. The rule is also used by path->inside
and for selecting a filled path with the mouse.
Defaults: winding
smooth, this is a chain of interpolated
points. The interpolation is recomputed each time the path has been
modified and needs to be painted. See also graphical->request_compute.
-kindDefaults: Resource defined (10).
<->intervals
and the
chain object holding
all interpolated points is available in
path<-interpolation.
Defaults: poly (line segments).
-interpolationDefaults: @nil
<-points
of the path if the path is painted. See also
path->reference and path->relative_move.smooth paths. The send-method validates and possibly
converts all members of the argument chain to be instances of class point
and raises the error unexpected_type on failure. On
successs, it replaces the path<-points
chain of the path with the argument. The argument thus becomes a part of
the path object. See
also path->initialise.poly lines. Only corners
between two straight segments are rounded. If the segments are too
short, the radius is reduced such that each corner uses at most half of
a segment.
Defaults: 0 (non-rounded corners).