public static final class IlvChart.IlvChartImagePaintContext extends IlvChart.IlvChartPaintContext
Modifier and Type | Field and Description |
---|---|
protected BufferedImage |
image |
Constructor and Description |
---|
IlvChartImagePaintContext(int width,
int height,
JComponent target)
Creates a new
IlvChartImagePaintContext object. |
IlvChartImagePaintContext(int width,
int height,
JComponent target,
boolean transparent)
Creates a new
IlvChartImagePaintContext object, optionally
with transparency. |
Modifier and Type | Method and Description |
---|---|
Graphics |
getGraphics()
Returns the Graphics context to perform drawing operations.
|
BufferedImage |
getImage()
Returns the destination Image.
|
getBounds, getDrawRect, setBounds
protected transient BufferedImage image
public IlvChartImagePaintContext(int width, int height, JComponent target)
IlvChartImagePaintContext
object.width
- The width of the drawing area. Must be > 0.height
- The height of the drawing area. Must be > 0.target
- The component to paint.public IlvChartImagePaintContext(int width, int height, JComponent target, boolean transparent)
IlvChartImagePaintContext
object, optionally
with transparency.width
- The width of the drawing area.height
- The height of the drawing area.target
- The component to paint.transparent
- If true, a transparent image will be created.public Graphics getGraphics()
public BufferedImage getImage()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.