#include <tilemappreviewgraphicsitem.h>
◆ TileMapPreviewGraphicsItem()
TileMapPreviewGraphicsItem::TileMapPreviewGraphicsItem |
( |
| ) |
|
◆ boundingRect()
QRectF TileMapPreviewGraphicsItem::boundingRect |
( |
| ) |
const |
|
override |
◆ paint()
void TileMapPreviewGraphicsItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
, |
|
|
QWidget * |
|
|
) |
| |
|
override |
◆ setClipRect()
void TileMapPreviewGraphicsItem::setClipRect |
( |
const QRect & |
rect | ) |
|
|
inline |
setClipRect
Any region outside this rect will be clipped. For passing in a tileMap, should not be scaled up. (10x9 tile map should pass in a 10x9 rect)
- Parameters
-
◆ setColor()
void TileMapPreviewGraphicsItem::setColor |
( |
const QColor & |
color | ) |
|
◆ setRegion()
void TileMapPreviewGraphicsItem::setRegion |
( |
QRegion |
region | ) |
|
The documentation for this class was generated from the following files: