Download Now

    Reference nvgLinearGradient

    Declared in Codebot.Render.NanoVG.pas on line 601

    Creates and returns a linear gradient. Parameters (sx,sy)-(ex,ey) specify the start and end coordinates of the linear gradient, icol specifies the start color and ocol the end color
    function nvgLinearGradient(Ctx: PNVGcontext; SX, SY, EX, EY: Single; ICol, OCol: TNVGcolor): TNVGpaint;

    See also