createLinearGradientWithStops

Create linear gradient data suitable to use with linearGradient(res). Don't forget to destroy the result when you don't need it anymore with ctx.kill(res);.

THIS IS EXPERIMENTAL API AND MAY BE CHANGED/BROKEN IN NEXT RELEASES!
nothrow @trusted @nogc
createLinearGradientWithStops
(,
in float sx
,
in float sy
,
in float ex
,
in float ey
,)

See Also

Suggestion Box / Bug Report