private Color getDefaultStrokeColor(final OverlaySettings settings) { final ColorRGB color = settings.getLineColor(); final int r = color.getRed(); final int g = color.getGreen(); final int b = color.getBlue(); return new Color(r, g, b, 255); }
private Color getDefaultFillColor(final OverlaySettings settings) { final ColorRGB color = settings.getFillColor(); final int r = color.getRed(); final int g = color.getGreen(); final int b = color.getBlue(); final int a = settings.getAlpha(); return new Color(r, g, b, a); }