QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgsinterpolatedlinerenderer.h>
Public Member Functions | |
void | render (double value1, double value2, QgsPointXY point1, QgsPointXY point2, QgsRenderContext &context) const |
Render a line in the context between point1 and point2 with color and width that vary depending on value1 and value2. More... | |
void | setInterpolatedColor (const QgsInterpolatedLineColor &strokeColoring) |
Sets the stroke color used to plot. More... | |
void | setInterpolatedWidth (const QgsInterpolatedLineWidth &strokeWidth) |
Sets the stroke width used to plot. More... | |
void | setWidthUnit (const QgsUnitTypes::RenderUnit &strokeWidthUnit) |
Sets the unit of the stroke width. More... | |
Represents a line with width and color varying depending on values.
Definition at line 184 of file qgsinterpolatedlinerenderer.h.
void QgsInterpolatedLineRenderer::render | ( | double | value1, |
double | value2, | ||
QgsPointXY | point1, | ||
QgsPointXY | point2, | ||
QgsRenderContext & | context | ||
) | const |
Render a line in the context between point1 and point2 with color and width that vary depending on value1 and value2.
Definition at line 36 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineRenderer::setInterpolatedColor | ( | const QgsInterpolatedLineColor & | strokeColoring | ) |
Sets the stroke color used to plot.
Definition at line 26 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineRenderer::setInterpolatedWidth | ( | const QgsInterpolatedLineWidth & | strokeWidth | ) |
Sets the stroke width used to plot.
Definition at line 21 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineRenderer::setWidthUnit | ( | const QgsUnitTypes::RenderUnit & | strokeWidthUnit | ) |
Sets the unit of the stroke width.
Definition at line 31 of file qgsinterpolatedlinerenderer.cpp.