PatternPaint
class PatternPaint(val bounds: Rectangle, val transform: AffineTransform2D = Identity, val opacity: Float = 1.0f, val paint: PatternCanvas.() -> Unit) : Paint
A Paint that repeats the contents of its Canvas horizontally and vertically within a shape.
Author
Nicholas Eddy
Constructors
Link copied to clipboard
constructor(size: Size, transform: AffineTransform2D = Identity, opacity: Float = 1.0f, fill: PatternCanvas.() -> Unit)
constructor(bounds: Rectangle, transform: AffineTransform2D = Identity, opacity: Float = 1.0f, paint: PatternCanvas.() -> Unit)