149150151152153154155156157
* * @param color the active color to use */ public void setColor(Color color) { if (!ColorUtil.isSameColor(color, graphicsState.color)) { addObject(new GraphicsSetProcessColor(colorConverter.convert(color))); graphicsState.color = color; } }
144145146147148149150151152
* * @param color the active color to use */ public void setColor(Color color) { if (!color.equals(graphicsState.color)) { addObject(new GraphicsSetProcessColor(colorConverter.convert(color))); graphicsState.color = color; } }