createConicGradient method
The CanvasRenderingContext2D.createConicGradient()
method of the
Canvas 2D API creates a gradient around a point with given coordinates.
This method returns a conic CanvasGradient. To be applied to a shape, the gradient must first be assigned to the CanvasRenderingContext2D.fillStyle or CanvasRenderingContext2D.strokeStyle properties.
Note: Gradient coordinates are global, i.e., relative to the current coordinate space. When applied to a shape, the coordinates are NOT relative to the shape's coordinates.
Implementation
external CanvasGradient createConicGradient(
num startAngle,
num x,
num y,
);