Constructor and Description |
---|
ColorIcon(Color color) |
ColorIcon(Color color,
int width,
int height,
boolean drawAsCircle) |
ColorIcon(Color color,
int width,
int height,
int arcWidth,
int arcHeight) |
ColorIcon(Color color,
int width,
int height,
int arcWidth,
int arcHeight,
boolean drawOutline) |
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight() |
int |
getIconWidth() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public ColorIcon(Color color)
public ColorIcon(Color color, int width, int height, boolean drawAsCircle)
public ColorIcon(Color color, int width, int height, int arcWidth, int arcHeight)
public ColorIcon(Color color, int width, int height, int arcWidth, int arcHeight, boolean drawOutline)
public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
Copyright © 2015–2021 Fiji. All rights reserved.