Class CIMHatchFill

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

Represents a hatch fill which fills polygonal geometry with a uniform series of parallel line symbols.

public class CIMHatchFill : CIMFill
Inheritance
CIMHatchFill
Inherited Members

Constructors

CIMHatchFill()

public CIMHatchFill()

Properties

LineSymbol

Gets or sets the line symbol that is used to draw the hatch lines in the fill.

public CIMLineSymbol LineSymbol { get; set; }

Property Value

CIMLineSymbol

OffsetX

Gets or sets how much to move the stroke to a new X-position.

public double OffsetX { get; set; }

Property Value

double

OffsetY

Gets or sets how much to move the stroke to a new Y-position.

public double OffsetY { get; set; }

Property Value

double

Rotation

Gets or sets the angle of rotation for all the strokes, in degrees.

public double Rotation { get; set; }

Property Value

double

Separation

Gets or sets the distance between the line symbols in the hatch pattern.

public double Separation { get; set; }

Property Value

double

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMHatchFill state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMHatchFill

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string