Interface ColorReplacement


  • @XmlElement("ColorReplacement")
    public interface ColorReplacement
    The ColorReplacement element, which may occur multiple times, allows to replace a color in the ExternalGraphic, the color specified in the OriginalColor sub-element, by another color as a result of a recode function as defined in Interpolate.
    Since:
    GeoAPI 2.2
    • Method Detail

      • getRecoding

        @XmlElement("Recode")
        Function getRecoding()
        Recoding: Transformation of discrete values to any other values. This is needed when integers have to be translated into text or, reversely, text contents into other texts or numeric values or colors. This function recodes values from a property or expression into corresponding values of arbitrary type. The comparisons are performed checking for identical values.
      • accept

        Object accept​(StyleVisitor visitor,
                      Object extraData)
        calls the visit method of a StyleVisitor
        Parameters:
        visitor - the style visitor