Class CIMGeometricEffectDashes
Represents the dashes geometric effect which creates a dynamic multipart line geometry from a line feature or the outline of a polygon based on a template.
public class CIMGeometricEffectDashes : CIMGeometricEffect
- Inheritance
-
CIMGeometricEffectDashes
- Inherited Members
Constructors
CIMGeometricEffectDashes()
public CIMGeometricEffectDashes()
Properties
ControlPointEnding
Gets or sets the line dash ending position.
public LineDashEnding ControlPointEnding { get; set; }
Property Value
CustomEndingOffset
Gets or sets where the pattern should end relative to the ending point of the geometry. Negative numbers indicate a shift to the left and positive numbers a shift to the right. This property is only applied if the LineDashEnding is set to Custom.
public double CustomEndingOffset { get; set; }
Property Value
DashTemplate
Gets or sets the distance for each dash and gap. There can be multiple dash and gap values to form a complex pattern.
public double[] DashTemplate { get; set; }
Property Value
- double[]
LineDashEnding
Gets or sets the setting which determines how the strokes with dash patterns and other patterns (pictures, placement effects) are handled at the end points of the line geometry's segments.
public LineDashEnding LineDashEnding { get; set; }
Property Value
OffsetAlongLine
Gets or sets the position where the pattern should begin relative to the starting point of the geometry. It shifts the entire pattern along the line the specified distance. Negative values indicate a shift to the left and positive numbers a shift to the right. This property is only applied if LineDashEnding is set to NoConstraint or Custom.
public double OffsetAlongLine { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMGeometricEffectDashes with a specified state from a JSON encoding.
public static CIMGeometricEffectDashes FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMGeometricEffectDashes state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMGeometricEffectDashes and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.