Class CIMMarkerPlacementAlongLineVariableSize
Represents marker placement along the line which places markers in either increasing, decreasing or alternating gradations along a line or polygon outline.
public class CIMMarkerPlacementAlongLineVariableSize : CIMMarkerStrokePlacement
- Inheritance
-
CIMMarkerPlacementAlongLineVariableSize
- Inherited Members
Constructors
CIMMarkerPlacementAlongLineVariableSize()
public CIMMarkerPlacementAlongLineVariableSize()
Properties
ControlPointPlacement
Gets or sets how markers are placed at control points.
public SimplePlacementEndings ControlPointPlacement { get; set; }
Property Value
Endings
Gets or sets how markers are placed at the end points of a line.
public SimplePlacementEndings Endings { get; set; }
Property Value
MaxRandomOffset
Gets or sets the maximum random offset.
public double MaxRandomOffset { get; set; }
Property Value
MaxZoom
Gets or sets the largest size of the marker to be placed on the line. The value is expressed as a ratio.
public double MaxZoom { get; set; }
Property Value
MinZoom
Gets or sets the smallest size of the marker to be placed on the line. The value is expressed as a ratio.
public double MinZoom { get; set; }
Property Value
NumberOfSizes
Gets or sets the number of different sizes of markers to be placed on the line.
public int NumberOfSizes { get; set; }
Property Value
PlacementTemplate
Gets or sets the numeric pattern that defines the sequence of placed markers and the length of space between them.
public double[] PlacementTemplate { get; set; }
Property Value
- double[]
Seed
Gets or sets the starting value for generating a random number. This random number is used by the Randomization property to determine which size a marker will receive. This is only used if the VariationMethod is set to Random.
public int Seed { get; set; }
Property Value
VariationMethod
Gets or sets the order in which the change of size in the markers should occur.
public SizeVariationMethod VariationMethod { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMarkerPlacementAlongLineVariableSize with a specified state from a JSON encoding.
public static CIMMarkerPlacementAlongLineVariableSize FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMarkerPlacementAlongLineVariableSize state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMarkerPlacementAlongLineVariableSize and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.