Table of Contents

Class Image

Namespace
DotTiled
Assembly
DotTiled.dll

Represents an image that is used by a tileset.

public class Image
Inheritance
Image
Inherited Members

Properties

Format

The format of the image.

public Optional<ImageFormat> Format { get; set; }

Property Value

Optional<ImageFormat>

Height

The image height in pixels, used for tile index correction when the image changes.

public Optional<uint> Height { get; set; }

Property Value

Optional<uint>

Source

The reference to the image file.

public Optional<string> Source { get; set; }

Property Value

Optional<string>

TransparentColor

Defines a specific color that is treated as transparent.

public Optional<Color> TransparentColor { get; set; }

Property Value

Optional<Color>

Width

The image width in pixels, used for tile index correction when the image changes.

public Optional<uint> Width { get; set; }

Property Value

Optional<uint>