QCanvasBrush Class
QCanvasBrush is the base class for all QCanvasPainter fill / stroke brushes. More...
| Header: | #include <QCanvasBrush> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS CanvasPainter)target_link_libraries(mytarget PRIVATE Qt6::CanvasPainter) |
| Since: | Qt 6.11 |
| Inherited By: | QCanvasBoxShadow, QCanvasCustomBrush, QCanvasGradient, QCanvasGridPattern, and QCanvasImagePattern |
| Status: | Technical Preview |
Public Functions
| QCanvasBrush(QCanvasImage &&other) | |
| class QCanvasBrush & | operator=(QCanvasBrush &&other) |
Detailed Description
QCanvasBrush is the base class for all styles used for QCanvasPainter::fill() and QCanvasPainter::stroke().
Member Function Documentation
[noexcept default] QCanvasBrush::QCanvasBrush(QCanvasImage &&other)
Move-constructs a new QCanvasBrush from other.
[default] class QCanvasBrush &QCanvasBrush::operator=(QCanvasBrush &&other)
Move-assigns other to this QCanvasBrush instance.