get

operator fun get(x: Int, y: Int): Boolean

Returns whether the module at x (column) / y (row) is dark.

Coordinates are zero-based with the origin at the top-left, matching the convention used throughout PdfKmp.

Throws

IndexOutOfBoundsException

if x or y is outside 0 until size.