FieldAnalysis.withContinuousFieldFunction constructor
- required ContinuousFieldFunction function,
- required StretchRenderer renderer,
Creates a FieldAnalysis with a ContinuousFieldFunction and a StretchRenderer.
Only stretch renderers created with MinMaxStretchParameters are supported. The minimum and maximum values must be specified.
If the gamma value is not specified for the renderer, a default value of 1.0 is used. If the specified gamma value is less than or equal to 0, the result is transparent and the AnalysisViewState will contain an error.
If the renderer is created with a null color ramp, a default ramp is used. The default blends black through to white.
Regions where the function result has no data are transparent.
Parameters:
function— A ContinuousFieldFunction to evaluate and visualize.renderer— A renderer that controls how the ContinuousFieldFunction is visualized.