Canvas.createEllipticalGradient

Creates an elliptical gradient. First radius is given by (x1, y1), second radius with a radius at 90° with the first one).

  1. CanvasGradient createEllipticalGradient(float x0, float y0, float x1, float y1, float r2)
    struct Canvas
    nothrow @nogc
    createEllipticalGradient
    (
    float x0
    ,
    float y0
    ,
    float x1
    ,
    float y1
    ,
    float r2
    )
  2. CanvasGradient createEllipticalGradient(vec2f pt0, vec2f pt1, float r2)

Meta