• Ell's avatar
    Issue #2303 - Please add Constant type of gradient interpolation ... · 0462734f
    Ell authored
    ... to make multi-color hard-edge gradient fills possible
    Add a new "step" gradient-segment blending function, which is 0
    before the midpoint, and 1 at, and after, the midpoint.  This
    creates a hard-edge transition between the two adjacent color stops
    at the midpoint.  Creating such a transition was already possible,
    but required duplicating the same color at the opposing ends of two
    adjacent stops, which is cumbersome.
    (cherry picked from commit 68bf99e806ba38a06df92d736dab65e6cd17a44c)
enums.pl 32.4 KB