|
|||||||||
| 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.PolygonRenderer
public class PolygonRenderer
Renders a Polygon Region. You can customize the renderer by changing the type of stroke it uses, etc.
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 | |
|---|---|
PolygonRenderer(PolygonalRegion r)
|
|
| Method Summary | |
|---|---|
void |
renderToG2D(java.awt.Graphics2D g2d)
|
void |
setStroke(java.awt.Stroke s)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolygonRenderer(PolygonalRegion r)
r - | 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)public void setStroke(java.awt.Stroke s)
stroke -
|
Copyright 2006 Stanford University | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||