Skip to content

TilesData Class

Definition

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

public sealed class TilesData

View source

Constructors

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

Properties

Name Description
BitsPerPixel Gets the pixel index bit depth.
Count Gets the number of tiles.
Height Gets the height of each tile in pixels.
Pixels Gets tile-major pixels, with row-major unpacked indices within each tile.
Width Gets the width of each tile in pixels.