Class CIMGeometricEffectRegularPolygon

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

Represents the regular polygon geometric effect which creates a dynamic polygon around a point feature with a specified number of edges. All edges are equal in length and all angles are equal.

public class CIMGeometricEffectRegularPolygon : CIMGeometricEffect
Inheritance
CIMGeometricEffectRegularPolygon
Inherited Members

Constructors

CIMGeometricEffectRegularPolygon()

public CIMGeometricEffectRegularPolygon()

Properties

Angle

Gets or sets the amount of rotation for the polygon.

public double Angle { get; set; }

Property Value

double

Edges

Gets or sets the number of sides for the polygon. Specifying a value less than 3 produces a circle.

public int Edges { get; set; }

Property Value

int

Radius

Gets or sets the distance from the center of the polygon.

public double Radius { get; set; }

Property Value

double

Methods

FromJson(string, JsonDeserializationSettings)

Reconstructs the CIMGeometricEffectRegularPolygon with a specified state from a JSON encoding.

public static CIMGeometricEffectRegularPolygon FromJson(string json, JsonDeserializationSettings settings = null)

Parameters

json string

The JSON string containing the CIMGeometricEffectRegularPolygon state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMGeometricEffectRegularPolygon

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMGeometricEffectRegularPolygon and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string