Enum EscherColorRef.SysIndexProcedure

    • Enum Constant Detail

      • DARKEN_COLOR

        public static final EscherColorRef.SysIndexProcedure DARKEN_COLOR
        Darken the color by the value that is specified in the blue field. A blue value of 0xFF specifies that the color is to be left unchanged, whereas a blue value of 0x00 specifies that the color is to be completely darkened.
      • LIGHTEN_COLOR

        public static final EscherColorRef.SysIndexProcedure LIGHTEN_COLOR
        Lighten the color by the value that is specified in the blue field. A blue value of 0xFF specifies that the color is to be left unchanged, whereas a blue value of 0x00 specifies that the color is to be completely lightened.
      • ADD_GRAY_LEVEL

        public static final EscherColorRef.SysIndexProcedure ADD_GRAY_LEVEL
        Add a gray level RGB value. The blue field contains the gray level to add: NewColor = SourceColor + gray
      • SUB_GRAY_LEVEL

        public static final EscherColorRef.SysIndexProcedure SUB_GRAY_LEVEL
        Subtract a gray level RGB value. The blue field contains the gray level to subtract: NewColor = SourceColor - gray
      • REVERSE_GRAY_LEVEL

        public static final EscherColorRef.SysIndexProcedure REVERSE_GRAY_LEVEL
        Reverse-subtract a gray level RGB value. The blue field contains the gray level from which to subtract: NewColor = gray - SourceColor
      • THRESHOLD

        public static final EscherColorRef.SysIndexProcedure THRESHOLD
        If the color component being modified is less than the parameter contained in the blue field, set it to the minimum intensity. If the color component being modified is greater than or equal to the parameter, set it to the maximum intensity.
      • INVERT_AFTER

        public static final EscherColorRef.SysIndexProcedure INVERT_AFTER
        After making other modifications, invert the color. This enum value is only for documentation and won't be directly returned.
      • INVERT_HIGHBIT_AFTER

        public static final EscherColorRef.SysIndexProcedure INVERT_HIGHBIT_AFTER
        After making other modifications, invert the color by toggling just the high bit of each color channel. This enum value is only for documentation and won't be directly returned.
    • Method Detail

      • values

        public static EscherColorRef.SysIndexProcedure[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EscherColorRef.SysIndexProcedure c : EscherColorRef.SysIndexProcedure.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EscherColorRef.SysIndexProcedure valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null