org.jfree.chart.block
Class LineBorder
java.lang.Object
org.jfree.chart.block.LineBorder
- BlockFrame, Serializable
LineBorder() - Creates a default border.
|
LineBorder(Paint paint, Stroke stroke, RectangleInsets insets) - Creates a new border with the specified color.
|
void | draw(Graphics2D g2, Rectangle2D area) - Draws the border by filling in the reserved space (in black).
|
boolean | equals(Object obj) - Tests this border for equality with an arbitrary instance.
|
RectangleInsets | getInsets() - Returns the insets.
|
Paint | getPaint() - Returns the paint.
|
Stroke | getStroke() - Returns the stroke.
|
LineBorder
public LineBorder()
Creates a default border.
LineBorder
public LineBorder(Paint paint,
Stroke stroke,
RectangleInsets insets)
Creates a new border with the specified color.
paint
- the color (null
not permitted).stroke
- the border stroke (null
not permitted).insets
- the insets (null
not permitted).
draw
public void draw(Graphics2D g2,
Rectangle2D area)
Draws the border by filling in the reserved space (in black).
- draw in interface BlockFrame
g2
- the graphics device.area
- the area.
equals
public boolean equals(Object obj)
Tests this border for equality with an arbitrary instance.
obj
- the object (null
permitted).
getPaint
public Paint getPaint()
Returns the paint.
getStroke
public Stroke getStroke()
Returns the stroke.