| Package | Description |
|---|---|
| com.orsoncharts | |
| com.orsoncharts.axis | |
| com.orsoncharts.fx |
Custom viewing component (and support classes) for JavaFX.
|
| com.orsoncharts.graphics3d |
The core 3D graphics rendering engine which is fully implemented using
the Java2D (Graphics2D) API.
|
| com.orsoncharts.graphics3d.swing |
Components to display 3D graphics in Swing applications.
|
| Modifier and Type | Method and Description |
|---|---|
RenderingInfo |
Chart3D.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D bounds)
Draws the chart to the specified output target.
|
| Constructor and Description |
|---|
OnDrawHandler(RenderingInfo info,
boolean elementHinting)
Creates a new handler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StandardCategoryAxis3D.draw(java.awt.Graphics2D g2,
java.awt.geom.Point2D pt0,
java.awt.geom.Point2D pt1,
java.awt.geom.Point2D opposingPt,
java.util.List<TickData> tickData,
RenderingInfo info,
boolean hinting)
Draws the axis between the two points
pt0 and pt1 in
Java2D space. |
void |
NumberAxis3D.draw(java.awt.Graphics2D g2,
java.awt.geom.Point2D pt0,
java.awt.geom.Point2D pt1,
java.awt.geom.Point2D opposingPt,
java.util.List<TickData> tickData,
RenderingInfo info,
boolean hinting)
Draws the axis to the supplied graphics target (
g2, with the
specified starting and ending points for the line. |
void |
LogAxis3D.draw(java.awt.Graphics2D g2,
java.awt.geom.Point2D startPt,
java.awt.geom.Point2D endPt,
java.awt.geom.Point2D opposingPt,
java.util.List<TickData> tickData,
RenderingInfo info,
boolean hinting)
Draws the axis.
|
void |
Axis3D.draw(java.awt.Graphics2D g2,
java.awt.geom.Point2D startPt,
java.awt.geom.Point2D endPt,
java.awt.geom.Point2D opposingPt,
java.util.List<TickData> tickData,
RenderingInfo info,
boolean hinting)
Draws the axis along an arbitrary line (between
startPt
and endPt). |
abstract void |
AbstractAxis3D.draw(java.awt.Graphics2D g2,
java.awt.geom.Point2D startPt,
java.awt.geom.Point2D endPt,
java.awt.geom.Point2D opposingPt,
java.util.List<TickData> tickData,
RenderingInfo info,
boolean hinting)
Draws the axis along an arbitrary line (between
startPt
and endPt). |
protected java.awt.Shape |
AbstractAxis3D.drawAxisLabel(java.lang.String label,
java.awt.Graphics2D g2,
java.awt.geom.Line2D axisLine,
java.awt.geom.Point2D opposingPt,
double offset,
RenderingInfo info,
boolean hinting)
Draws the specified text as the axis label and returns a bounding
shape (2D) for the text.
|
| Modifier and Type | Method and Description |
|---|---|
RenderingInfo |
Chart3DCanvas.getRenderingInfo()
Returns the rendering info from the most recent drawing of the chart.
|
| Modifier and Type | Method and Description |
|---|---|
RenderingInfo |
Drawable3D.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D bounds)
Draws the scene to the supplied
Graphics2D target and returns
an object containing state information about the rendering. |
RenderingInfo |
DefaultDrawable3D.draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D bounds)
Draws the current view to a
Graphics2D instance. |
static RenderingInfo |
ExportUtils.writeAsJPEG(Drawable3D drawable,
int w,
int h,
java.io.File file)
Writes the current content to the specified file in JPEG format.
|
static RenderingInfo |
ExportUtils.writeAsPDF(Drawable3D drawable,
int w,
int h,
java.io.File file)
Writes a
Drawable3D to the specified file in PDF format. |
static RenderingInfo |
ExportUtils.writeAsPNG(Drawable3D drawable,
int w,
int h,
java.io.File file)
Writes the current content to the specified file in PNG format.
|
static RenderingInfo |
ExportUtils.writeAsSVG(Drawable3D drawable,
int w,
int h,
java.io.File file)
Writes the current content to the specified file in SVG format.
|
| Modifier and Type | Method and Description |
|---|---|
protected RenderingInfo |
Panel3D.getRenderingInfo()
Returns the rendering info from the previous call to
draw().
|