QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Represents a width than can vary depending on values. More...
#include <qgsinterpolatedlinerenderer.h>
Public Member Functions | |
double | fixedStrokeWidth () const |
Returns the fixed width. More... | |
bool | ignoreOutOfRange () const |
Returns whether the variable width ignores out of range value. More... | |
bool | isVariableWidth () const |
Returns whether the width is variable. More... | |
double | maximumValue () const |
Returns the maximum value used to defined the variable width. More... | |
double | maximumWidth () const |
Returns the maximum width used to defined the variable width. More... | |
double | minimumValue () const |
Returns the minimum value used to defined the variable width. More... | |
double | minimumWidth () const |
Returns the minimum width used to defined the variable width. More... | |
void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) |
Reads configuration from the given DOM element. More... | |
void | setFixedStrokeWidth (double fixedWidth) |
Sets the fixed width. More... | |
void | setIgnoreOutOfRange (bool ignoreOutOfRange) |
Sets whether the variable width ignores out of range value. More... | |
void | setIsVariableWidth (bool isVariableWidth) |
Returns whether the width is variable. More... | |
void | setMaximumValue (double maximumValue) |
Sets the maximum value used to defined the variable width. More... | |
void | setMaximumWidth (double maximumWidth) |
Sets the maximum width used to defined the variable width. More... | |
void | setMinimumValue (double minimumValue) |
Sets the minimum value used to defined the variable width. More... | |
void | setMinimumWidth (double minimumWidth) |
Sets the minimum width used to defined the variable width. More... | |
void | setUseAbsoluteValue (bool useAbsoluteValue) |
Sets whether absolute value are used as input. More... | |
double | strokeWidth (double value) const |
Returns the variable width depending on value, if not varying returns the fixed width. More... | |
bool | useAbsoluteValue () const |
Returns whether absolute value are used as input. More... | |
QDomElement | writeXml (QDomDocument &doc, const QgsReadWriteContext &context) const |
Writes configuration to a new DOM element. More... | |
Represents a width than can vary depending on values.
Definition at line 110 of file qgsinterpolatedlinerenderer.h.
double QgsInterpolatedLineWidth::fixedStrokeWidth | ( | ) | const |
Returns the fixed width.
Definition at line 345 of file qgsinterpolatedlinerenderer.cpp.
bool QgsInterpolatedLineWidth::ignoreOutOfRange | ( | ) | const |
Returns whether the variable width ignores out of range value.
Definition at line 350 of file qgsinterpolatedlinerenderer.cpp.
bool QgsInterpolatedLineWidth::isVariableWidth | ( | ) | const |
Returns whether the width is variable.
Definition at line 360 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::maximumValue | ( | ) | const |
Returns the maximum value used to defined the variable width.
Definition at line 238 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::maximumWidth | ( | ) | const |
Returns the maximum width used to defined the variable width.
Definition at line 260 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::minimumValue | ( | ) | const |
Returns the minimum value used to defined the variable width.
Definition at line 227 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::minimumWidth | ( | ) | const |
Returns the minimum width used to defined the variable width.
Definition at line 249 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::readXml | ( | const QDomElement & | elem, |
const QgsReadWriteContext & | context | ||
) |
Reads configuration from the given DOM element.
Definition at line 321 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setFixedStrokeWidth | ( | double | fixedWidth | ) |
Sets the fixed width.
Definition at line 370 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setIgnoreOutOfRange | ( | bool | ignoreOutOfRange | ) |
Sets whether the variable width ignores out of range value.
Definition at line 355 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setIsVariableWidth | ( | bool | isVariableWidth | ) |
Returns whether the width is variable.
Definition at line 365 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setMaximumValue | ( | double | maximumValue | ) |
Sets the maximum value used to defined the variable width.
Definition at line 243 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setMaximumWidth | ( | double | maximumWidth | ) |
Sets the maximum width used to defined the variable width.
Definition at line 265 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setMinimumValue | ( | double | minimumValue | ) |
Sets the minimum value used to defined the variable width.
Definition at line 232 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setMinimumWidth | ( | double | minimumWidth | ) |
Sets the minimum width used to defined the variable width.
Definition at line 254 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setUseAbsoluteValue | ( | bool | useAbsoluteValue | ) |
Sets whether absolute value are used as input.
Definition at line 340 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::strokeWidth | ( | double | value | ) | const |
Returns the variable width depending on value, if not varying returns the fixed width.
Definition at line 271 of file qgsinterpolatedlinerenderer.cpp.
bool QgsInterpolatedLineWidth::useAbsoluteValue | ( | ) | const |
Returns whether absolute value are used as input.
Definition at line 335 of file qgsinterpolatedlinerenderer.cpp.
QDomElement QgsInterpolatedLineWidth::writeXml | ( | QDomDocument & | doc, |
const QgsReadWriteContext & | context | ||
) | const |
Writes configuration to a new DOM element.
Definition at line 303 of file qgsinterpolatedlinerenderer.cpp.