public class FigureIcon
extends javax.swing.ImageIcon
Constructor and Description |
---|
FigureIcon(Figure figure)
Create a new icon that looks like the given figure.
|
FigureIcon(Figure figure,
boolean antialias)
Create a new icon that looks like the given figure.
|
FigureIcon(Figure figure,
int x,
int y)
Create a new icon that looks like the given figure.
|
FigureIcon(Figure figure,
int x,
int y,
int border,
boolean antialias)
Create a new icon that looks like the given figure.
|
public FigureIcon(Figure figure)
public FigureIcon(Figure figure, boolean antialias)
antialias
- True if antialiasing should be used.public FigureIcon(Figure figure, int x, int y)
public FigureIcon(Figure figure, int x, int y, int border, boolean antialias)
antialias
- True if antialiasing should be used.