QgsImageOperation::DistanceTransformProperties struct

Struct for storing properties of a distance transform operation.

Contents

Public variables

QgsColorRamp* ramp
Color ramp to use for shading the distance transform.
bool shadeExterior
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
Maximum distance (in pixels) for the distance transform shading to spread.
bool useMaxDistance
Set to true to automatically calculate the maximum distance in the transform to use as the spread value.