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