radialGradient

Creates and returns a radial gradient. Parameters (cx, cy) specify the center, inr and outr specify the inner and outer radius of the gradient, icol specifies the start color and ocol the end color. The gradient is transformed by the current transform when it is passed to fillPaint or strokePaint.

nothrow @trusted @nogc
NVGPaint
radialGradient
(
NVGContext ctx
,
in float cx
,
in float cy
,
in float inr
,
in float outr
,,)

See Also

Meta