Image

data class Image(val argb: IntArray, val width: Int, val height: Int, val empty: Boolean = false)(source)

Represents an image with pixel data in ARGB format.

Parameters

argb

The pixel data in ARGB format.

width

The width of the image in pixels.

height

The height of the image in pixels.

empty

Indicates whether the image is empty, used to avoid iteration over argb

Constructors

Link copied to clipboard
constructor(argb: IntArray, width: Int, height: Int, empty: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String