asPaint

Returns NVGPaint for linear gradient with stops, created with createLinearGradientWithStops. The gradient is transformed by the current transform when it is passed to fillPaint or strokePaint.

THIS IS EXPERIMENTAL API AND MAY BE CHANGED/BROKEN IN NEXT RELEASES!
nothrow @trusted @nogc
asPaint
()
(,
const scope auto ref NVGLGS lgs
)

See Also

Suggestion Box / Bug Report