QGIS/python/gui/qgshighlight.sip
2013-06-24 08:54:27 +02:00

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();
};