Class CIMGeometricEffectRegularPolygon
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
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
Radius
Gets or sets the distance from the center of the polygon.
public double Radius { get; set; }
Property Value
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
jsonstringThe JSON string containing the CIMGeometricEffectRegularPolygon state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMGeometricEffectRegularPolygon and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.