PatternPaint

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)