from Checked
fun fromChecked(width: Int, height: Int, checksX: Int, checksY: Int, col1: Color, col2: Color): Image
Creates a checked pattern image with two colors.
Return
An Image object representing the created checked pattern image.
Parameters
width
The width of the image.
height
The height of the image.
checks X
The number of checks in the X direction.
checks Y
The number of checks in the Y direction.
col1
The first color.
col2
The second color.