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
blend_mode- Blend mode to apply.color- Color to paint onto the canvas.
Properties
blend_modeclass-attributeinstance-attribute
blend_mode: BlendMode = BlendMode.SRC_OVERBlend mode to apply.
colorclass-attributeinstance-attribute
color: ColorValue = Colors.BLACKColor to paint onto the canvas.