Explore map catalog
Design and customize your own maps
Create powerful apps with our versatile SDK
Powerful map searching and geocoding services
Enrich maps with your own data
Secure self-hosted mapping solutions
The CanvasGradient interface represents an opaque object describing a gradient.
CanvasGradient
MDN Reference
The CanvasGradient.addColorStop() method adds a new color stop, defined by an offset and a color, to a given canvas gradient.
CanvasGradient.addColorStop()
offset
color
The
CanvasGradientinterface represents an opaque object describing a gradient.MDN Reference