@@ -0,0 +1,1337 @@
+/*%0A * This file is part of Mapyrus, software for plotting maps.%0A * Copyright (C) 2003 - 2013 Simon Chenery.%0A *%0A * Mapyrus is free software; you can redistribute it and/or modify%0A * it under the terms of the GNU Lesser General Public License as published by%0A * the Free Software Foundation; either version 2 of the License, or%0A * (at your option) any later version.%0A *%0A * Mapyrus is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Lesser General Public License for more details.%0A *%0A * You should have received a copy of the GNU Lesser General Public License%0A * along with Mapyrus; if not, write to the Free Software%0A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA%0A */%0A%0Apackage org.mapyrus.image;%0A%0Aimport java.awt.Color;%0Aimport java.awt.image.BufferedImage;%0A%0A/**%0A * The image for an icon plus the color if the icon is monochrome (1-bit-per-pixel).%0A * The color may be a CMYK color.%0A */%0Apublic class ColorIcon%0A%7B%0A%09private BufferedImage m_image;%0A%09private Color m_color;%0A%0A%09public ColorIcon(BufferedImage image, Color color)%0A%09%7B%0A%09%09m_image = image;%0A%09%09m_color = color;%0A%09%7D%0A%0A%09public BufferedImage getImage()%0A%09%7B%0A%09%09return m_image;%0A%09%7D%0A%0A%09public Color getColor()%0A%09%7B%0A%09%09return m_color;%0A%09%7D%0A%7D%0A

Add ColorIcon wrapper class for icon plus color