stripedPaint
fun stripedPaint(stripeWidth: Double, evenRowColor: Color? = null, oddRowColor: Color? = null, transform: AffineTransform2D = Identity): PatternPaint
Creates a PatternPaint that draws an alternating horizontal striped pattern.
Parameters
stripeWidth
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)