paint

open fun paint(r: Graphics2D, op: Texture.TextureOp, x: Int, y: Int)

Renders a Texture that is filtered with a BufferedImageOp. The rendering attributes applied to include the Clip, Transform and Composite attributes.

This method uses local cache to accelerate the rendering.

Parameters

r

the Graphics.

op

the filter to be applied to the texture before rendering.

x

the x coordinate of the location in user space where the upper left corner of the texture is rendered

y

the y coordinate of the location in user space where the upper left corner of the texture is rendered