Interface IParameterizedFeaturePainter

All Superinterfaces:
IFeaturePainter

public interface IParameterizedFeaturePainter extends IFeaturePainter
A feature painter that can be used to specify how to paint a set of features using style expressions instead of specifying the options for each individual feature.

Note that this interface extends IFeaturePainter, which therefore still allows painting each feature individually. However, it is recommended to use style expressions whenever possible, for performance reasons.

Since:
2025.0
  • Method Details

    • paintParameterized

      void paintParameterized(@NotNull @NotNull DataType featureType, @NotNull @NotNull FeaturePainterContext context, @NotNull @NotNull ParameterizedFeatureCanvas canvas)
      Specifies how to paint a given set of features for a given data type using style expressions.

      This is done by submitting a draw command on the given ParameterizedFeatureCanvas.

      For an example of how to implement this method, see here.

      Parameters:
      featureType - the feature type to paint
      context - additional context information
      canvas - the canvas on which to submit draw commands