Class CIMMarkerPlacementAroundPolygon
Represents marker placement around polygon which places a marker on a specific position on the polygon outline.
public class CIMMarkerPlacementAroundPolygon : CIMMarkerFillPlacement
- Inheritance
-
CIMMarkerPlacementAroundPolygon
- Inherited Members
Constructors
CIMMarkerPlacementAroundPolygon()
public CIMMarkerPlacementAroundPolygon()
Properties
Offset
Gets or sets the offset from the polygon edge. Negative numbers offset toward the inside of the polygon.
public double Offset { get; set; }
Property Value
Position
Gets or sets the position of the marker around the polygon.
public PlacementAroundPolygonPosition Position { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMarkerPlacementAroundPolygon with a specified state from a JSON encoding.
public static CIMMarkerPlacementAroundPolygon FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMarkerPlacementAroundPolygon state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMarkerPlacementAroundPolygon and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.