verticalStripedPaint

fun verticalStripedPaint(colWidth: Double, evenRowColor: Color? = null, oddRowColor: Color? = null): PatternPaint

Creates a PatternPaint that draws an alternating vertical striped pattern.

Parameters

colWidth

of the alternating columns

evenRowColor

used to fill the even numbered rows (i.e. 0, 2, 122)

oddRowColor

used to fill the odd numbered rows (i.e. 1, 3, 121)