Class CIMGeometricEffectTaperedPolygon
Represents the tapered polygon geometric effect which creates a dynamic polygon along a line feature, whose width varies by two specified amounts along its length, as defined by a percentage of the line feature's length.
public class CIMGeometricEffectTaperedPolygon : CIMGeometricEffect
- Inheritance
-
CIMGeometricEffectTaperedPolygon
- Inherited Members
Constructors
CIMGeometricEffectTaperedPolygon()
public CIMGeometricEffectTaperedPolygon()
Properties
FromWidth
Gets or sets the width at the start of the line to be used to generate a polygon.
public double FromWidth { get; set; }
Property Value
Length
Gets or sets the distance along the line to be used to generate the polygon.
public double Length { get; set; }
Property Value
ToWidth
Gets or sets the width at the end of the line to be used to generate the polygon.
public double ToWidth { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMGeometricEffectTaperedPolygon with a specified state from a JSON encoding.
public static CIMGeometricEffectTaperedPolygon FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMGeometricEffectTaperedPolygon state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMGeometricEffectTaperedPolygon and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.