SampledPixels

class SampledPixels(val pixels: IntArray, val width: Int, val height: Int)

The pixels samplePixels kept, plus the width and height of the sampled grid.

Constructors

Link copied to clipboard
constructor(pixels: IntArray, width: Int, height: Int)

Properties

Link copied to clipboard
val height: Int

Height of the sampled grid, never taller than the source.

Link copied to clipboard

ARGB pixels in row-major order, width times height of them.

Link copied to clipboard
val width: Int

Width of the sampled grid, never wider than the source.