| Did you know ... | Search Documentation: |
| Send methods |
r0 and r1 are only
meaningful when
kind is radial; pass @default
for a linear gradient and they are stored as @nil.
If stops is @default
an empty chain is created and stops must be added later with gradient->add_stop
or gradient->stops.
See the class introduction for a runnable example.
tuple(fraction, colour) to gradient<-stops.
Convenience wrapper equivalent to
send(G?stops, append, new(_, tuple(F, C)))
for the common incremental-build pattern.
tuple(fraction, colour) objects; the renderer skips
anything else silently.