Class CIMMarkerPlacementInsidePolygon

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

Represents marker placement inside a polygon which defines how a polygon is filled with a pattern of markers.

public class CIMMarkerPlacementInsidePolygon : CIMMarkerFillPlacement
Inheritance
CIMMarkerPlacementInsidePolygon
Inherited Members

Constructors

CIMMarkerPlacementInsidePolygon()

public CIMMarkerPlacementInsidePolygon()

Properties

Clipping

Gets or sets the clipping option which specifies how markers should be clipped at the polygon boundary.

public PlacementClip Clipping { get; set; }

Property Value

PlacementClip

GridAngle

Gets or sets the orientation angle that the markers are placed on within the polygon.

public double GridAngle { get; set; }

Property Value

double

GridType

Gets or sets the grid type which defines how markers are placed.

public PlacementGridType GridType { get; set; }

Property Value

PlacementGridType

OffsetX

Gets or sets the marker row offset horizontally.

public double OffsetX { get; set; }

Property Value

double

OffsetY

Gets or sets the marker row offset vertically.

public double OffsetY { get; set; }

Property Value

double

Randomness

Gets or sets the randomness of the pattern when markers are placed randomly in a polygon.

public double Randomness { get; set; }

Property Value

double

Seed

Gets or sets the starting value for generating a random pattern.

public int Seed { get; set; }

Property Value

int

ShiftOddRows

Gets or sets a value indicating whether every other row of markers should be shifted to create an offset grid.

public bool ShiftOddRows { get; set; }

Property Value

bool

StepX

Gets or sets the distance between each marker on the X-axis of the grid.

public double StepX { get; set; }

Property Value

double

StepY

Gets or sets the distance between each marker on the Y-axis of the grid.

public double StepY { get; set; }

Property Value

double

Methods

FromJson(string, JsonDeserializationSettings)

Reconstructs the CIMMarkerPlacementInsidePolygon with a specified state from a JSON encoding.

public static CIMMarkerPlacementInsidePolygon FromJson(string json, JsonDeserializationSettings settings = null)

Parameters

json string

The JSON string containing the CIMMarkerPlacementInsidePolygon state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMMarkerPlacementInsidePolygon

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string