pixels property

  1. @Array.multi<NativeType>([1])
Array<UnsignedChar> pixels
getter/setter pair

The herringbone wang tile data; it is a bitmap which is either w=2short_sidelen,h=short_sidelen, or w=short_sidelen,h=2short_sidelen. it is always RGB, stored row-major, with no padding between rows. (allocate stbhw_tile structure to be large enough for the pixel data)

Implementation

@ffi.Array.multi([1])
external ffi.Array<ffi.UnsignedChar> pixels;