rotate

fun rotate(degrees: Int)

Modifies this BitMatrix to represent the same but rotated the given degrees (0, 90, 180, 270)

Parameters

degrees

number of degrees to rotate through counter-clockwise (0, 90, 180, 270)