red

open fun red(x: Int, y: Int): Int

Gets the red portion for the pixel color at the specified coordinates.

Return

The red portion from the RGBA pixel color

Parameters

x

The x coordinate.

y

The y coordinate.