Class CIMPictureStroke

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

Represents a picture stroke which draws linear geometry with a repeating image file. Supported file types are .bmp, .jpg, .png, and .gif.

public class CIMPictureStroke : CIMStroke
Inheritance
CIMPictureStroke
Inherited Members

Constructors

CIMPictureStroke()

public CIMPictureStroke()

Properties

ColorSubstitutions

Gets or sets the color substitutions for the picture.

public CIMColorSubstitution[] ColorSubstitutions { get; set; }

Property Value

CIMColorSubstitution[]

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 image that is used in the symbol layer. Typically a base64 encoded image.

public string URL { get; set; }

Property Value

string

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMPictureStroke state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMPictureStroke

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string