mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
19 lines
399 B
Plaintext
19 lines
399 B
Plaintext
class QgsHighlight : QgsMapCanvasItem
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgshighlight.h>
|
|
%End
|
|
public:
|
|
QgsHighlight( QgsMapCanvas *mapCanvas, QgsGeometry *geom, QgsVectorLayer *layer );
|
|
~QgsHighlight();
|
|
|
|
void setColor( const QColor & color );
|
|
void setWidth( int width );
|
|
|
|
protected:
|
|
virtual void paint( QPainter* p );
|
|
|
|
//! recalculates needed rectangle
|
|
void updateRect();
|
|
};
|