Show / Hide Table of Contents

Constructor FieldAnalysis

FieldAnalysis(BooleanFieldFunction, ColormapRenderer)

Initializes a new instance of the FieldAnalysis class with a BooleanFieldFunction and a ColormapRenderer.

Declaration
public FieldAnalysis(BooleanFieldFunction booleanFieldFunction, ColormapRenderer colormapRenderer)
Parameters
Type Name Description
BooleanFieldFunction booleanFieldFunction

A BooleanFieldFunction to evaluate and visualize.

ColormapRenderer colormapRenderer

A renderer that controls how the BooleanFieldFunction is visualized.

Remarks

Regions in the function result that are true are rendered using the color associated with 1, if defined.

Regions in the function result that are false are rendered using the color associated with 0, if defined.

Mappings between colors and values other than 0 or 1 are ignored.

Regions in the function result without data are transparent.

Exceptions
Type Condition
ArgumentException

The ColormapRenderer must associate colors to the values 0, or 1, or both 0 and 1.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300

FieldAnalysis(ContinuousFieldFunction, StretchRenderer)

Initializes a new instance of the FieldAnalysis class with a ContinuousFieldFunction and a StretchRenderer.

Declaration
public FieldAnalysis(ContinuousFieldFunction continuousFieldFunction, StretchRenderer stretchRenderer)
Parameters
Type Name Description
ContinuousFieldFunction continuousFieldFunction

A ContinuousFieldFunction to evaluate and visualize.

StretchRenderer stretchRenderer

A renderer that controls how the ContinuousFieldFunction is visualized.

Remarks

Regions in the function result without data are transparent.

Exceptions
Type Condition
ArgumentException

Only stretch renderers created with MinMaxStretchParameters are supported. The minimum, maximum, and gamma values and the color ramp must be specified.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300

FieldAnalysis(DiscreteFieldFunction, ColormapRenderer)

Initializes a new instance of the FieldAnalysis class with a DiscreteFieldFunction and a ColormapRenderer.

Declaration
public FieldAnalysis(DiscreteFieldFunction discreteFieldFunction, ColormapRenderer colormapRenderer)
Parameters
Type Name Description
DiscreteFieldFunction discreteFieldFunction

A DiscreteFieldFunction to evaluate and visualize.

ColormapRenderer colormapRenderer

A renderer that controls how the DiscreteFieldFunction is visualized.

Remarks

Regions in the function result without data are transparent.

Exceptions
Type Condition
ArgumentException

The ColormapRenderer must contain at least one entry in its colormap.

Applies to

Platforms and versions
TargetVersions
.NET300
.NET Windows300
.NET Android300
.NET iOS300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.