org.jfree.chart.block
Interface BlockFrame
- BlockBorder, LineBorder
A block frame is a type of border that can be drawn around the outside of
any
AbstractBlock. Classes that implement this interface should
implement
PublicCloneable OR be immutable.
void | draw(Graphics2D g2, Rectangle2D area)- Draws the border by filling in the reserved space (in black).
|
RectangleInsets | getInsets()- Returns the space reserved for the border.
|
draw
public void draw(Graphics2D g2,
Rectangle2D area) Draws the border by filling in the reserved space (in black).
g2 - the graphics device.area - the area.
getInsets
public RectangleInsets getInsets()
Returns the space reserved for the border.