Skip to main content

Color

Paints the given color onto the canvas, applying the given blend_mode, with the given color being the source and the background being the destination.

Inherits: canvas.Shape

Properties

Properties​

blend_modeclass-attributeinstance-attribute​

blend_mode: BlendMode = BlendMode.SRC_OVER

Blend mode to apply.

colorclass-attributeinstance-attribute​

Color to paint onto the canvas.