Skip to content

draw.CreateTexture

Syntax

draw.CreateTexture(rgba, width, height) → texture

Parameters

rgba
The color of the texture.
widthint
The width of the texture.
heightint
The height of the texture.

Returns

Returns texture.

Appears in: SVG Drawing