Tuesday, 24 July 2007

Multi-resolution Renderable Images

The MultiResolutionRenderableImage class produces renderings based on a set of supplied RenderedImages at various resolutions.

* public MultiResolutionRenderableImage(Vector renderedSources, float minX, float minY, float height)
constructs a MultiResolutionRenderableImage with given dimensions from a Vector of progressively lower resolution versions of a RenderedImage.

* RenderedImage createScaledRendering(int width, int height, RenderingHints hints)
returns a rendering with a given width, height, and rendering hints.

* RenderedImage createDefaultRendering()
returns a 100-pixel high rendering with no rendering hints.

* RenderedImage createRendering(RenderContext renderContext)
returns a rendering based on a RenderContext.

* Object getProperty(String name)
gets a property from the property set of this image.

* String[] getPropertyNames()
returns a list of the properties recognized by this image.

* float getWidth()
returns the floating-point width of the RenderableImage.

* float getHeight()
returns the floating-point height of the RenderableImage.

* float getMinX()
returns the floating-point minimum x coordinate of the RenderableImage.

* float getMaxX()
returns the floating-point maximum x coordinate of the RenderableImage.

* float getMinY()
returns the floating-point minimum y coordinate of the RenderableImage.

* float getMaxY()
returns the floating-point maximum y coordinate of the RenderableImage.

No comments: