|
QGIS API Documentation 4.0.0-Norrköping (1ddcee3d0e4)
|
Struct for storing properties of a distance transform operation. More...
#include <qgsimageoperation.h>
Public Attributes | |
| QgsColorRamp * | ramp = nullptr |
| Color ramp to use for shading the distance transform. | |
| bool | shadeExterior = true |
Set to true to perform the distance transform on transparent pixels in the source image, set to false to perform the distance transform on opaque pixels. | |
| double | spread = 10.0 |
| Maximum distance (in pixels) for the distance transform shading to spread. | |
| bool | useMaxDistance = true |
Set to true to automatically calculate the maximum distance in the transform to use as the spread value. | |
Struct for storing properties of a distance transform operation.
Definition at line 119 of file qgsimageoperation.h.
| QgsColorRamp* QgsImageOperation::DistanceTransformProperties::ramp = nullptr |
Color ramp to use for shading the distance transform.
Definition at line 143 of file qgsimageoperation.h.
| bool QgsImageOperation::DistanceTransformProperties::shadeExterior = true |
Set to true to perform the distance transform on transparent pixels in the source image, set to false to perform the distance transform on opaque pixels.
Definition at line 126 of file qgsimageoperation.h.
| double QgsImageOperation::DistanceTransformProperties::spread = 10.0 |
Maximum distance (in pixels) for the distance transform shading to spread.
Definition at line 138 of file qgsimageoperation.h.
| bool QgsImageOperation::DistanceTransformProperties::useMaxDistance = true |
Set to true to automatically calculate the maximum distance in the transform to use as the spread value.
Definition at line 132 of file qgsimageoperation.h.