QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Represents a width than can vary depending on values. More...
#include <qgsinterpolatedlinerenderer.h>
Public Member Functions | |
double | fixedStrokeWidth () const |
Returns the fixed width. | |
bool | ignoreOutOfRange () const |
Returns whether the variable width ignores out of range value. | |
bool | isVariableWidth () const |
Returns whether the width is variable. | |
double | maximumValue () const |
Returns the maximum value used to defined the variable width. | |
double | maximumWidth () const |
Returns the maximum width used to defined the variable width. | |
double | minimumValue () const |
Returns the minimum value used to defined the variable width. | |
double | minimumWidth () const |
Returns the minimum width used to defined the variable width. | |
void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) |
Reads configuration from the given DOM element. | |
void | setFixedStrokeWidth (double fixedWidth) |
Sets the fixed width. | |
void | setIgnoreOutOfRange (bool ignoreOutOfRange) |
Sets whether the variable width ignores out of range value. | |
void | setIsVariableWidth (bool isVariableWidth) |
Returns whether the width is variable. | |
void | setMaximumValue (double maximumValue) |
Sets the maximum value used to defined the variable width. | |
void | setMaximumWidth (double maximumWidth) |
Sets the maximum width used to defined the variable width. | |
void | setMinimumValue (double minimumValue) |
Sets the minimum value used to defined the variable width. | |
void | setMinimumWidth (double minimumWidth) |
Sets the minimum width used to defined the variable width. | |
void | setUseAbsoluteValue (bool useAbsoluteValue) |
Sets whether absolute value are used as input. | |
double | strokeWidth (double value) const |
Returns the variable width depending on value, if not varying returns the fixed width. | |
bool | useAbsoluteValue () const |
Returns whether absolute value are used as input. | |
QDomElement | writeXml (QDomDocument &doc, const QgsReadWriteContext &context) const |
Writes configuration to a new DOM element. | |
Represents a width than can vary depending on values.
Definition at line 124 of file qgsinterpolatedlinerenderer.h.
double QgsInterpolatedLineWidth::fixedStrokeWidth | ( | ) | const |
Returns the fixed width.
Definition at line 400 of file qgsinterpolatedlinerenderer.cpp.
bool QgsInterpolatedLineWidth::ignoreOutOfRange | ( | ) | const |
Returns whether the variable width ignores out of range value.
Definition at line 405 of file qgsinterpolatedlinerenderer.cpp.
bool QgsInterpolatedLineWidth::isVariableWidth | ( | ) | const |
Returns whether the width is variable.
Definition at line 415 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::maximumValue | ( | ) | const |
Returns the maximum value used to defined the variable width.
Definition at line 297 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::maximumWidth | ( | ) | const |
Returns the maximum width used to defined the variable width.
Definition at line 319 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::minimumValue | ( | ) | const |
Returns the minimum value used to defined the variable width.
Definition at line 286 of file qgsinterpolatedlinerenderer.cpp.
double QgsInterpolatedLineWidth::minimumWidth | ( | ) | const |
Returns the minimum width used to defined the variable width.
Definition at line 308 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::readXml | ( | const QDomElement & | elem, |
const QgsReadWriteContext & | context | ||
) |
Reads configuration from the given DOM element.
Definition at line 378 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setFixedStrokeWidth | ( | double | fixedWidth | ) |
Sets the fixed width.
Definition at line 425 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setIgnoreOutOfRange | ( | bool | ignoreOutOfRange | ) |
Sets whether the variable width ignores out of range value.
Definition at line 410 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setIsVariableWidth | ( | bool | isVariableWidth | ) |
Returns whether the width is variable.
Definition at line 420 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setMaximumValue | ( | double | maximumValue | ) |
Sets the maximum value used to defined the variable width.
Definition at line 302 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setMaximumWidth | ( | double | maximumWidth | ) |
Sets the maximum width used to defined the variable width.
Definition at line 324 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setMinimumValue | ( | double | minimumValue | ) |
Sets the minimum value used to defined the variable width.
Definition at line 291 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setMinimumWidth | ( | double | minimumWidth | ) |
Sets the minimum width used to defined the variable width.
Definition at line 313 of file qgsinterpolatedlinerenderer.cpp.
void QgsInterpolatedLineWidth::setUseAbsoluteValue | ( | bool | useAbsoluteValue | ) |
Sets whether absolute value are used as input.
Definition at line 395 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 330 of file qgsinterpolatedlinerenderer.cpp.
bool QgsInterpolatedLineWidth::useAbsoluteValue | ( | ) | const |
Returns whether absolute value are used as input.
Definition at line 390 of file qgsinterpolatedlinerenderer.cpp.
QDomElement QgsInterpolatedLineWidth::writeXml | ( | QDomDocument & | doc, |
const QgsReadWriteContext & | context | ||
) | const |
Writes configuration to a new DOM element.
Definition at line 362 of file qgsinterpolatedlinerenderer.cpp.