QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
18 #ifndef QGSGEOMETRYRUBBERBAND_H
19 #define QGSGEOMETRYRUBBERBAND_H
47 sipType = sipType_QgsGeometryRubberBand;
98 void setFillColor(
const QColor &
c );
100 void setStrokeColor(
const QColor &
c );
102 void setStrokeWidth(
int width );
104 void setLineStyle( Qt::PenStyle penStyle );
106 void setBrushStyle( Qt::BrushStyle brushStyle );
111 void paint( QPainter *painter )
override;
121 void drawVertex( QPainter *p,
double x,
double y );
125 #endif // QGSGEOMETRYRUBBERBAND_H
Point geometry type, with support for z-dimension and m-values.
@ ICON_CROSS
A cross is used to highlight points (+)
@ ICON_CIRCLE
A circle is used to highlight points (○)
const QgsAbstractGeometry * geometry()
Returns a pointer to the geometry.
@ ICON_BOX
A box is used to highlight points (□)
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
virtual void paint(QPainter *painter)=0
function to be implemented by derived classes
void setIconType(IconType iconType)
Sets vertex marker icon type.
Abstract base class for all geometries.
GeometryType
The geometry types are used to group QgsWkbTypes::Type in a coarse way.
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c
Utility class for identifying a unique vertex within a geometry.
@ ICON_NONE
No icon is used.
@ ICON_X
A cross is used to highlight points (x)