public contains(row as Int, col as Int) as Boolean:
Returns true when the coordinate belongs to the frame.