file: Pixel.aus

class: Pixel

[16:7] extends: FxObj

Wraps FXGL's Pixel data class (defined in com.almasb.fxgl.texture.Images.kt), returned by Texture.pixels(). Each Pixel records its (x, y) coordinate, its JavaFX Color, and the parent Image it was sampled from. Read-only — used for per-pixel scripting on a texture's pixel grid.

Methods