public class LineBorder extends Object implements BlockFrame, Serializable
AbstractBlock
.Constructor and Description |
---|
LineBorder()
Creates a default border.
|
LineBorder(Paint paint,
Stroke stroke,
org.jfree.ui.RectangleInsets insets)
Creates a new border with the specified color.
|
Modifier and Type | Method and Description |
---|---|
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.
|
org.jfree.ui.RectangleInsets |
getInsets()
Returns the insets.
|
Paint |
getPaint()
Returns the paint.
|
Stroke |
getStroke()
Returns the stroke.
|
public Paint getPaint()
null
).public org.jfree.ui.RectangleInsets getInsets()
getInsets
in interface BlockFrame
null
).public Stroke getStroke()
null
).public void draw(Graphics2D g2, Rectangle2D area)
draw
in interface BlockFrame
g2
- the graphics device.area
- the area.Jas4pp 1.5 © Java Analysis Studio for Particle Physics