Skip to content

TilesData Class ​

Definition ​

Immutable indexed tiles of a common size. Each tile contains unpacked row-major indices; palettes are separate.

c#
public sealed class TilesData

View source

Constructors ​

NameDescription
TilesData(Int32, Int32, Byte[], Int32)Initializes tiles by copying their pixels.

Properties ​

NameDescription
BitsPerPixelGets the pixel index bit depth.
CountGets the number of tiles.
HeightGets the height of each tile in pixels.
PixelsGets tile-major pixels, with row-major unpacked indices within each tile.
WidthGets the width of each tile in pixels.