public class Graph extends RectangularGraphElement
height, width, x, y| Constructor and Description |
|---|
Graph(int width,
int height,
RegionData[] data,
GraphConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g2d)
Draw the element onto a Graphics2D.
|
RegionGraphElement[] |
getRegions() |
getBoundingRectangle, getHeight, getWidthpublic Graph(int width,
int height,
RegionData[] data,
GraphConfiguration config)
width - the width of the graphheight - the height of the graphdata - the values to draw in the graphconfig - the configuration to use when drawing the graphpublic RegionGraphElement[] getRegions()
public void draw(Graphics2D g2d)
GraphElementg2d - the Graphics2D onto which the element should be drawn.Copyright © 2005–2015 IIPC. All rights reserved.