alpha

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

Gets the alpha portion for the pixel at the specified coordinates.

Return

The alpha portion from the RGBA pixel color

Parameters

x

The x coordinate.

y

The y coordinate.