| Constructor and Description |
|---|
StrokeIcon()
Creates a new ColorIcon object.
|
StrokeIcon(Stroke stroke)
Creates a new ColorIcon object.
|
StrokeIcon(Stroke stroke,
Dimension size)
Creates a new ColorIcon object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
void |
setSize(Dimension size) |
void |
setStroke(Stroke stroke) |
public StrokeIcon()
public StrokeIcon(Stroke stroke)
color - public void setSize(Dimension size)
size - public void setStroke(Stroke stroke)
color - public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface IconCopyright © 2021. All rights reserved.