Class CIMMarkerPlacementAtExtremities
Represents marker placement at extremities which places markers at only one or both endpoints of a line.
public class CIMMarkerPlacementAtExtremities : CIMMarkerStrokePlacement
- Inheritance
-
CIMMarkerPlacementAtExtremities
- Inherited Members
Constructors
CIMMarkerPlacementAtExtremities()
public CIMMarkerPlacementAtExtremities()
Properties
ExtremityPlacement
Gets or sets which ends of the line a marker will be placed.
public ExtremityPlacement ExtremityPlacement { get; set; }
Property Value
OffsetAlongLine
Gets or sets the distance from the ends of a line that the marker will be placed.
public double OffsetAlongLine { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMarkerPlacementAtExtremities with a specified state from a JSON encoding.
public static CIMMarkerPlacementAtExtremities FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMarkerPlacementAtExtremities state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMarkerPlacementAtExtremities and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.