| Did you know ... | Search Documentation: |
| gradient->initialise |
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.