Use a brush to fill a Node2D.
To set a Node2D to use a brush:
- Node2D::setBackgroundBrush sets the brush that fills the background of the node.
- Node2D::setForegroundBrush sets the brush that fills the foreground of the node.
- Node2D::setCompositionBrush sets the material brush to use when compositing the node.
See
Node2DBrushes "Using brushes".
To render a brush manually, use the BrushRenderer.
Since Kanzi 4.0.0 removed the getBlendMode(), isOpaque(), isTranslucent(), setContentTranslucent(), and setRenderable() functions, and the TranslucencyBits enumerator.
Inherits properties and message types from BrushMetadata.