Package com.luciad.layers.features
Interface IParameterizedFeaturePainter
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionvoid
paintParameterized
(@NotNull DataType featureType, @NotNull FeaturePainterContext context, @NotNull ParameterizedFeatureCanvas canvas) Specifies how to paint a given set of features for a given data type using style expressions.Methods inherited from interface com.luciad.layers.features.IFeaturePainter
configureMetadata, paint
-
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 paintcontext
- additional context informationcanvas
- the canvas on which to submit draw commands
-