add link to SVG gradient stops in colorize-alpha notes
This commit is contained in:
parent
b787f4d672
commit
ccd17a3bf3
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ Summary: The 2.2.0 release is primarily a performance and stability release. The
|
|||
|
||||
- Added `colorize-alpha` image filter that applies user provided color gradients based on level of alpha.
|
||||
Accepts one or more colors separated by commas. Each color can be paired with an `offset` value separated
|
||||
by a space that is either `0-100%` or `0.0-1.0`. An `offset` of `0` is implied and the default. A simple example
|
||||
by a space that is either `0-100%` or `0.0-1.0`. An `offset` of `0` is implied and the default. For background
|
||||
on where this design came from see http://www.w3.org/TR/SVG/pservers.html#GradientStops. A simple example
|
||||
of colorizing alpha into a "rainbow" is `colorize-alpha(blue,cyan,lightgreen, yellow, orange, red)`. An example of
|
||||
using offsets and the variety of supported color encodings is to produce a ramp which sharp contrast between `blue`
|
||||
and `cyan` is `colorize-alpha(blue 30%, cyan, yellow 0.7 , rgb(0%,80%,0%) 90%)` (#1371).
|
||||
|
|
Loading…
Reference in a new issue