Class SwatchImages
java.lang.Object
com.iizigo.color.SwatchImages
Small swatch images of a color, one per ARGB value, for the IIZI Explorer, the palette tree and the color chooser: a filled square with a grey frame, a transparent color drawn over a white field so that its alpha shows. The images are cached and the cache is bounded; the oldest image is disposed of when a new one is made past the bound.
- Author:
- Christopher Mindus
Method Summary
Method Details
get
Gets the swatch image of a color, 16 by 16 pixels scaled with the UI.- Parameters:
argb- The color.- Returns:
- The image, owned by this class: never dispose of it.