getPixel

public abstract byte getPixel(int x, int y)

Get getClassById pixel from the canvas.

Return

The color. See MapPalette.

Parameters

x

The x coordinate, from 0 to 127.

y

The y coordinate, from 0 to 127.