![]() |
Qt 6.x
The Qt SDK
|
The QTileRules class provides the rules used to draw a pixmap or image split into nine segments. More...
#include <qdrawutil.h>
Public Member Functions | |
QTileRules (Qt::TileRule horizontalRule, Qt::TileRule verticalRule) | |
Constructs a QTileRules with the given horizontalRule and verticalRule. | |
QTileRules (Qt::TileRule rule=Qt::StretchTile) | |
Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule. | |
Public Attributes | |
Qt::TileRule | horizontal |
Qt::TileRule | vertical |
The QTileRules class provides the rules used to draw a pixmap or image split into nine segments.
\inmodule QtWidgets
Spliiting is similar to \l{http://www.w3.org/TR/css3-background/}{CSS3 border-images}.
Definition at line 76 of file qdrawutil.h.
|
inline |
Constructs a QTileRules with the given horizontalRule and verticalRule.
Definition at line 78 of file qdrawutil.h.
|
inline |
Constructs a QTileRules with the given rule used for both the horizontal rule and the vertical rule.
Definition at line 80 of file qdrawutil.h.
Qt::TileRule QTileRules::horizontal |
Definition at line 82 of file qdrawutil.h.
Qt::TileRule QTileRules::vertical |
Definition at line 83 of file qdrawutil.h.