mixin

Paint

@Js
const mixin Paint

Paint models the color, image, or pattern used to stroke or fill a shape. Currently there is only one implementation: Color.

methods asColorPaint

Return as solid Color

isColorPaint

Is this solid color paint

asColorPaint abstract Color asColorPaint()

Return as solid Color

isColorPaint abstract Bool isColorPaint()

Is this solid color paint

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT