Class CIMMarkerPlacementPolygonCenter
Represents marker placement polygon center which defines how a single marker will be placed within the polygon.
public class CIMMarkerPlacementPolygonCenter : CIMMarkerFillPlacement
- Inheritance
-
CIMMarkerPlacementPolygonCenter
- Inherited Members
Constructors
CIMMarkerPlacementPolygonCenter()
public CIMMarkerPlacementPolygonCenter()
Properties
ClipAtBoundary
Gets or sets a value indicating whether the marker should be clipped if it extends pasts the boundary of the polygon.
public bool ClipAtBoundary { get; set; }
Property Value
Method
Gets or sets the method used to determine the polygon center.
public PlacementPolygonCenterMethod Method { get; set; }
Property Value
OffsetX
Gets or sets the value which offsets the marker horizontally from the center.
public double OffsetX { get; set; }
Property Value
OffsetY
Gets or sets the value which offsets the marker vertically from the center.
public double OffsetY { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMMarkerPlacementPolygonCenter with a specified state from a JSON encoding.
public static CIMMarkerPlacementPolygonCenter FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMMarkerPlacementPolygonCenter state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMMarkerPlacementPolygonCenter and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.