Static
createCreate a new texture filled with a CSS style.
Can be color, gradient or pattern. Supports all options supported in the fillStyle of the canvas API.
Style to apply to the texture surface.
Width of the canvas in pixels.
Height of the canvas in pixels.
Utils for texture creation and manipulation.