E - component typeD - decoration typeI - border typepublic class LineBorder<E extends javax.swing.JComponent,D extends IDecoration<E,D>,I extends LineBorder<E,D,I>> extends AbstractBorder<E,D,I>
color, id, opacity, stroke| Constructor and Description |
|---|
LineBorder() |
| Modifier and Type | Method and Description |
|---|---|
void |
paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
D d,
java.awt.Shape shape)
Paints border using the specified shape.
|
clone, getColor, getId, getOpacity, getStroke, getWidth, mergepublic void paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
D d,
java.awt.Shape shape)
IBorderg2d - graphics contextbounds - painting boundsc - painted componentd - painted decoration stateshape - background shape