|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.JavaGraphics
lt.monarch.chart.engine.Graphics3D
public class Graphics3D extends JavaGraphics
| Modifier and Type | Field and Description |
|---|
| Fields inherited from class lt.monarch.chart.engine.JavaGraphics |
|---|
g |
| Constructor and Description |
|---|
Graphics3D(java.awt.Graphics2D g)
Graphics 3D constructor |
| Modifier and Type | Method and Description |
|---|---|
AbstractGraphics |
create()
|
void |
dispose()
|
void |
draw(Primitive shape)
|
void |
drawChars(char[] data,
int offset,
int length,
double x,
double y)
|
void |
drawChars(char[] data,
int offset,
int length,
double x,
double y,
double z)
Draws chars |
void |
drawString(java.lang.String text,
double x,
double y)
|
void |
drawString(java.lang.String text,
double x,
double y,
double z)
Draws the text |
void |
drawString(java.lang.String text,
double x,
double y,
double z,
double width,
double height,
double angle)
Draws the text |
void |
endScene(Chart<?> chart)
Stops gathering primitives for scene and renders the scene |
void |
fill(Primitive shape)
|
java.util.List<Plane> |
getClipPlanes()
Gets clip planes. |
void |
repaint()
Does nothing. |
void |
rotate(double theta)
|
void |
rotate(double theta,
double x,
double y)
|
void |
setBounds(Rectangle2D bounds)
Sets rendered are bounds |
void |
setColor(java.awt.Color color)
|
void |
setComposite(java.awt.Composite composite)
|
void |
setEngine(Engine3D engine)
Sets a 3D rendering engine |
void |
setFont(java.awt.Font font)
|
void |
setPaint(java.awt.Paint paint)
|
void |
setRenderingHints(java.awt.RenderingHints hints)
|
void |
setStroke(java.awt.Stroke stroke)
|
void |
startScene(Chart<?> chart)
Starts gathering primitives for scene |
| Methods inherited from class lt.monarch.chart.engine.JavaGraphics |
|---|
addRenderingHints, clip, drawImage, drawImage, getClip, getClipBounds, getColor, getComposite, getFont, getFontMetrics, getFontMetrics, getGraphics2D, getPaint, getRenderingHints, getStroke, getTransform, renderScene, scale, setClip, setGraphics, setPaintMode, setTransform, setXORMode, transform, translate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Graphics3D(java.awt.Graphics2D g)
g - graphics context| Method Detail |
|---|
public void startScene(Chart<?> chart)
startScene in interface AbstractGraphicsstartScene in class JavaGraphicspublic void endScene(Chart<?> chart)
endScene in interface AbstractGraphicsendScene in class JavaGraphicspublic void draw(Primitive shape)
draw in interface AbstractGraphicsdraw in class JavaGraphicspublic void fill(Primitive shape)
fill in interface AbstractGraphicsfill in class JavaGraphicspublic void repaint()
public void dispose()
dispose in interface AbstractGraphicsdispose in class JavaGraphicspublic void setPaint(java.awt.Paint paint)
setPaint in interface AbstractGraphicssetPaint in class JavaGraphicspublic void setColor(java.awt.Color color)
setColor in interface AbstractGraphicssetColor in class JavaGraphicspublic void setComposite(java.awt.Composite composite)
setComposite in interface AbstractGraphicssetComposite in class JavaGraphicspublic void setFont(java.awt.Font font)
setFont in interface AbstractGraphicssetFont in class JavaGraphicspublic void setStroke(java.awt.Stroke stroke)
setStroke in interface AbstractGraphicssetStroke in class JavaGraphicspublic void setRenderingHints(java.awt.RenderingHints hints)
setRenderingHints in interface AbstractGraphicssetRenderingHints in class JavaGraphics
public void drawString(java.lang.String text,
double x,
double y,
double z)
text - text to drawx - x coordinatey - y coordinatez - z coordinate
public void drawString(java.lang.String text,
double x,
double y,
double z,
double width,
double height,
double angle)
text - text to drawx - x center coordinatey - y center coordinatez - z center coordinatewidth - total widthheight - total heightangle - rotation angle
public void drawString(java.lang.String text,
double x,
double y)
drawString in interface AbstractGraphicsdrawString in class JavaGraphics
public void drawChars(char[] data,
int offset,
int length,
double x,
double y,
double z)
data - data to drawoffset - offsetlength - lengthx - x coordinatey - y coordinatez - z coordinate
public void drawChars(char[] data,
int offset,
int length,
double x,
double y)
drawChars in interface AbstractGraphicsdrawChars in class JavaGraphicspublic AbstractGraphics create()
create in interface AbstractGraphicscreate in class JavaGraphicspublic void rotate(double theta)
rotate in interface AbstractGraphicsrotate in class JavaGraphics
public void rotate(double theta,
double x,
double y)
rotate in interface AbstractGraphicsrotate in class JavaGraphicspublic java.util.List<Plane> getClipPlanes()
public void setBounds(Rectangle2D bounds)
bounds - area boundspublic void setEngine(Engine3D engine)
engine - 3D rendering engine
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||