checkerPaint

fun checkerPaint(checkerSize: Size, firstColor: Color? = null, secondColor: Color? = null): PatternPaint

Creates a PatternPaint that draws a checkered pattern.

Parameters

checkerSize

of each rectangle in the checker pattern

firstColor

of the first rectangle, left-to-right

secondColor

of the second rectangle, left-to-right