|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.hci.r3.render.RegionRenderer
edu.stanford.hci.r3.render.regions.ImageRenderer
public class ImageRenderer
Renders an ImageRegion to a graphics context or PDF file.
This software is distributed under the BSD License.
| Field Summary |
|---|
| Fields inherited from class edu.stanford.hci.r3.render.RegionRenderer |
|---|
CONFIG_FILE_KEY, CONFIG_FILE_VALUE, DEBUG_REGIONS, region |
| Constructor Summary | |
|---|---|
ImageRenderer(ImageRegion region)
|
|
| Method Summary | |
|---|---|
void |
renderToG2D(java.awt.Graphics2D g2d)
Render the image to a graphics context, given the pixels per inch scaling. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageRenderer(ImageRegion region)
region - | Method Detail |
|---|
public void renderToG2D(java.awt.Graphics2D g2d)
renderToG2D in class RegionRendererg2d - Draw some boxes to the Graphics context to show where the regions lie. Normally, a
subclass would want to override this and NOT call the super.renderToG2D(...)RegionRenderer.renderToG2D(java.awt.Graphics2D)
|
Copyright 2006 Stanford University | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||