horizontalStripedPaint

fun horizontalStripedPaint(rowHeight: Double, evenRowColor: Color? = null, oddRowColor: Color? = null): PatternPaint

Creates a PatternPaint that draws an alternating horizontal striped pattern.

Parameters

rowHeight

of the alternating rows

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)