public static final class IlvChart.IlvChartImagePaintContext extends IlvChart.IlvChartPaintContext
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
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 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.