becker.robots.icons
Class CircleIcon
java.lang.Object
becker.robots.icons.Icon
becker.robots.icons.ShapeIcon
becker.robots.icons.CircleIcon
- All Implemented Interfaces:
- IColor
public class CircleIcon
- extends ShapeIcon
A circular icon.
- Author:
- Byron Weber Becker
Methods inherited from class becker.robots.icons.Icon |
applyTransforms, getColor, getImage, getLabel, getRotation, getSize, getTransparency, hasChanged, markChanged, paintIcon, setColor, setLabel, setSize, setTransparency |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CircleIcon
public CircleIcon(Color c)
- Construct a new CircleIcon.
- Parameters:
c
- The icon's color.
CircleIcon
public CircleIcon(Color c,
double size)
- Construct a new CircleIcon.
- Parameters:
c
- The icon's color.size
- The relative size of the icon (0.0 < size <= 1.0)