The trimmed version of an ase.Cel. Contains data about the visible part of a cel of an aseprite.

The trimmed version has all pixels that are outside the canvas discarded and an area reduced to visible pixels.

Available since

0.1.0

.

Variables

read onlycel:Cel

The associated ase.Cel.

read onlyh:Int

The trimmed height of cel.

read onlypixelData:Bytes

The pixels data as bytes.

read onlypixelDataFormat:PixelFormat

The pixel format of pixelData.

read onlyw:Int

The width of the visible area of the associated ase.Cel.

read onlyxMax:Int

The maximum x coordinate of cel after the trimming.

read onlyxMin:Int

The minimum x coordinate of cel after the trimming.

read onlyyMax:Int

The maximum y coordinate of cel after the trimming.

read onlyyMin:Int

The minimum y coordinate of cel after the trimming.