ICanvasSolid class

ICanvasSolid class

Represents an opaque object describing a solid color to be used with the HTML canvas rendering context.

The ICanvasSolid type exposes the following members:

Properties

PropertyDescription
typeGet type of brush; See BrushType.
supports_shaderChecks if the brush supports a shader.

Methods

MethodDescription
get_colorGets the string representation of the solid color.
to_nativeConverts the brush to a native representation.

See Also