16 #ifndef QGSVERTEXMARKER_H 17 #define QGSVERTEXMARKER_H 43 void setCenter(
const QgsPoint& point );
45 void setIconType(
int iconType );
47 void setIconSize(
int iconSize );
49 void setColor(
const QColor& color );
51 void setPenWidth(
int width );
QColor mColor
color of the marker
An abstract class for items that can be placed on the map canvas.
Map canvas is a class for displaying all GIS data types on a canvas.
virtual QRectF boundingRect() const override
default implementation for canvas items
A class for marking vertices of features using e.g.
A class to represent a point.
virtual void paint(QPainter *painter)=0
function to be implemented by derived classes
int mIconType
icon to be shown
virtual void updatePosition()
called on changed extent or resize event to update position of the item
QgsPoint mCenter
coordinates of the point in the center