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