getValue

fun getValue(x: Int, y: Int): Float

Returns the mask value at the specified (x, y) coordinates.