Class CIMMarkerPlacementAlongLineRandomSize
Represents marker placement along the line which places randomly sized markers evenly along a line or polygon outline.
public class CIMMarkerPlacementAlongLineRandomSize : CIMMarkerPlacementAlongLine
- Inheritance
-
CIMMarkerPlacementAlongLineRandomSize
- Inherited Members
Constructors
CIMMarkerPlacementAlongLineRandomSize()
public CIMMarkerPlacementAlongLineRandomSize()
Properties
Randomization
Gets or sets the amount of randomness to be used for the size and rotation of the markers on the line. The size and rotation of the marker will vary for individual markers.
public PlacementRandomlyAlongLineRandomization Randomization { get; set; }
Property Value
Seed
Gets or sets the starting value for generating a random number. This random number is used by the Randomization property to determine the marker shape.
public int Seed { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMarkerPlacementAlongLineRandomSize with a specified state from a JSON encoding.
public static CIMMarkerPlacementAlongLineRandomSize FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMarkerPlacementAlongLineRandomSize state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMarkerPlacementAlongLineRandomSize and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.