Liking cljdoc? Tell your friends :D

jdk.awt.image.renderable.RenderableImageProducer

An adapter class that implements ImageProducer to allow the asynchronous production of a RenderableImage. The size of the ImageConsumer is determined by the scale factor of the usr2dev transform in the RenderContext. If the RenderContext is null, the default rendering of the RenderableImage is used. This class implements an asynchronous production that produces the image in one thread at one resolution. This class may be subclassed to implement versions that will render the image using several threads. These threads could render either the same image at progressively better quality, or different sections of the image at a single resolution.

An adapter class that implements ImageProducer to allow the
asynchronous production of a RenderableImage.  The size of the
ImageConsumer is determined by the scale factor of the usr2dev
transform in the RenderContext.  If the RenderContext is null, the
default rendering of the RenderableImage is used.  This class
implements an asynchronous production that produces the image in
one thread at one resolution.  This class may be subclassed to
implement versions that will render the image using several
threads.  These threads could render either the same image at
progressively better quality, or different sections of the image at
a single resolution.
raw docstring

->renderable-image-producerclj

(->renderable-image-producer rdbl-image rc)

Constructor.

Constructs a new RenderableImageProducer from a RenderableImage and a RenderContext.

rdbl-image - the RenderableImage to be rendered. - java.awt.image.renderable.RenderableImage rc - the RenderContext to use for producing the pixels. - java.awt.image.renderable.RenderContext

Constructor.

Constructs a new RenderableImageProducer from a RenderableImage
 and a RenderContext.

rdbl-image - the RenderableImage to be rendered. - `java.awt.image.renderable.RenderableImage`
rc - the RenderContext to use for producing the pixels. - `java.awt.image.renderable.RenderContext`
raw docstring

add-consumerclj

(add-consumer this ic)

Adds an ImageConsumer to the list of consumers interested in data for this image.

ic - an ImageConsumer to be added to the interest list. - java.awt.image.ImageConsumer

Adds an ImageConsumer to the list of consumers interested in
 data for this image.

ic - an ImageConsumer to be added to the interest list. - `java.awt.image.ImageConsumer`
raw docstring

consumer?clj

(consumer? this ic)

Determine if an ImageConsumer is on the list of consumers currently interested in data for this image.

ic - the ImageConsumer to be checked. - java.awt.image.ImageConsumer

returns: true if the ImageConsumer is on the list; false otherwise. - boolean

Determine if an ImageConsumer is on the list of consumers
 currently interested in data for this image.

ic - the ImageConsumer to be checked. - `java.awt.image.ImageConsumer`

returns: true if the ImageConsumer is on the list; false otherwise. - `boolean`
raw docstring

remove-consumerclj

(remove-consumer this ic)

Remove an ImageConsumer from the list of consumers interested in data for this image.

ic - the ImageConsumer to be removed. - java.awt.image.ImageConsumer

Remove an ImageConsumer from the list of consumers interested in
 data for this image.

ic - the ImageConsumer to be removed. - `java.awt.image.ImageConsumer`
raw docstring

request-top-down-left-right-resendclj

(request-top-down-left-right-resend this ic)

Requests that a given ImageConsumer have the image data delivered one more time in top-down, left-right order.

ic - the ImageConsumer requesting the resend. - java.awt.image.ImageConsumer

Requests that a given ImageConsumer have the image data delivered
 one more time in top-down, left-right order.

ic - the ImageConsumer requesting the resend. - `java.awt.image.ImageConsumer`
raw docstring

runclj

(run this)

The runnable method for this class. This will produce an image using the current RenderableImage and RenderContext and send it to all the ImageConsumer currently registered with this class.

The runnable method for this class. This will produce an image using
the current RenderableImage and RenderContext and send it to all the
ImageConsumer currently registered with this class.
raw docstring

set-render-contextclj

(set-render-context this rc)

Sets a new RenderContext to use for the next startProduction() call.

rc - the new RenderContext. - java.awt.image.renderable.RenderContext

Sets a new RenderContext to use for the next startProduction() call.

rc - the new RenderContext. - `java.awt.image.renderable.RenderContext`
raw docstring

start-productionclj

(start-production this ic)

Adds an ImageConsumer to the list of consumers interested in data for this image, and immediately starts delivery of the image data through the ImageConsumer interface.

ic - the ImageConsumer to be added to the list of consumers. - java.awt.image.ImageConsumer

Adds an ImageConsumer to the list of consumers interested in
 data for this image, and immediately starts delivery of the
 image data through the ImageConsumer interface.

ic - the ImageConsumer to be added to the list of consumers. - `java.awt.image.ImageConsumer`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close