public final class ShapeIconBundle extends Object implements IconBundle
Constructor and Description |
---|
ShapeIconBundle(Shape shape,
Stroke stroke,
Paint fillPaint,
Paint strokePaint)
Create a new shape icon bundle with the specified shape,
stroke, and paints.
|
public Image getImage(Component component, IconTextDirection direction, IconState state, IconSize size)
getImage
in interface IconBundle
component
- AWT or Swing component hint, if anydirection
- icon text direction, must not be nullstate
- icon state, must not be nullsize
- icon size, must not be nullCopyright (c) 2003-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).