Class CIMMarkerPlacementPolygonCenter

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

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

bool

Method

Gets or sets the method used to determine the polygon center.

public PlacementPolygonCenterMethod Method { get; set; }

Property Value

PlacementPolygonCenterMethod

OffsetX

Gets or sets the value which offsets the marker horizontally from the center.

public double OffsetX { get; set; }

Property Value

double

OffsetY

Gets or sets the value which offsets the marker vertically from the center.

public double OffsetY { get; set; }

Property Value

double

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

json string

The JSON string containing the CIMMarkerPlacementPolygonCenter state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMMarkerPlacementPolygonCenter

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMMarkerPlacementPolygonCenter and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string