inetsoft.graph
Class GraphTool
java.lang.Object
inetsoft.graph.GraphTool
public class GraphTool
- extends Object
This class contains public utility methods in the graph package.
|
Method Summary |
static void |
drawImage(Graphics2D g,
Image img,
double x,
double y,
double w,
double h)
Draw an image on the graphics output with y-axis reversed, used for Chart. |
static void |
drawString(Graphics2D g,
String str,
double x,
double y)
Draw a string on the graphics output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphTool
public GraphTool()
drawString
public static void drawString(Graphics2D g,
String str,
double x,
double y)
- Draw a string on the graphics output. This method should be used to draw
a string on graphics objects passed in through graph API.
drawImage
public static void drawImage(Graphics2D g,
Image img,
double x,
double y,
double w,
double h)
- Draw an image on the graphics output with y-axis reversed, used for Chart.