Class CIMPictureFill

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

Represents a picture fill which fills polygonal geometry with a picture. Supported file types are .bmp, .jpg, .png, and .gif.

public class CIMPictureFill : CIMFill
Inheritance
CIMPictureFill
Inherited Members

Constructors

CIMPictureFill()

public CIMPictureFill()

Properties

ColorSubstitutions

Gets or sets the color substitutions which allows colors in the image to be substituted with a different color.

public CIMColorSubstitution[] ColorSubstitutions { get; set; }

Property Value

CIMColorSubstitution[]

Height

Gets or sets the height of the image.

public double Height { get; set; }

Property Value

double

OffsetX

Gets or sets the distance that the image is offset in the horizontal direction.

public double OffsetX { get; set; }

Property Value

double

OffsetY

Gets or sets the distance that the image is offset in the vertical direction.

public double OffsetY { get; set; }

Property Value

double

Rotation

Gets or sets angle of the image within the fill.

public double Rotation { get; set; }

Property Value

double

ScaleX

Gets or sets the width of the symbol without changing the height (or depth in 3D), as a ratio.

public double ScaleX { get; set; }

Property Value

double

TextureFilter

Gets or sets how the image is resampled.

public TextureFilter TextureFilter { get; set; }

Property Value

TextureFilter

TintColor

Gets or sets the color that is applied as a tint to the image. The color is applied to the whole image. When the tint is set to white the image appears with its native colors.

public CIMColor TintColor { get; set; }

Property Value

CIMColor

URL

Gets or sets the URL of the image. Typically a base64 encoded image.

public string URL { get; set; }

Property Value

string

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMPictureFill state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMPictureFill

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string