Enum Class BlendMode

java.lang.Object
java.lang.Enum<BlendMode>
com.datalogics.PDFL.BlendMode
All Implemented Interfaces:
Serializable, Comparable<BlendMode>, Constable

public enum BlendMode extends Enum<BlendMode>
The blend mode used for painting objects.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.
    Darken the backdrop color to reflect the source color.
    Brighten the backdrop color to reflect the source color.
    No longer needed but still recognized; equivalent to the Normal blend mode.
    Selects the darker of the backdrop or source colors.
    Subtracts the darker of the two constituent colors from the lighter color.
    Similar to the Difference mode, but lower in contrast.
    Multiplies or screens the colors, depending on the source color value.
    Creates a color with the hue of the source color and the saturation and luminosity of the background color.
    Selects the lighter of the backdrop or source colors.
    Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.
    Multiplies the source color and the backdrop color.
    Selects the source color, or the color in the graphics object, and ignores the backdrop.
    Multiplies or screens the colors, depending on the backdrop color value.
    Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.
    Multiplies the complements of the source color and the backdrop, and then complements the result.
    Darkens or lightens the colors, depending on the source color value.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static BlendMode
    Returns the enum constant of this class with the specified name.
    static BlendMode[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • COMPATIBLE

      public static final BlendMode COMPATIBLE
      No longer needed but still recognized; equivalent to the Normal blend mode.
    • NORMAL

      public static final BlendMode NORMAL
      Selects the source color, or the color in the graphics object, and ignores the backdrop.
    • MULTIPLY

      public static final BlendMode MULTIPLY
      Multiplies the source color and the backdrop color. This means that the color will always be at least as dark as the constituent colors. If either the source object or the backdrop is black, the color will be black.
    • SCREEN

      public static final BlendMode SCREEN
      Multiplies the complements of the source color and the backdrop, and then complements the result. The result is always as light as either of the constituent colors.
    • DIFFERENCE

      public static final BlendMode DIFFERENCE
      Subtracts the darker of the two constituent colors from the lighter color.
    • DARKEN

      public static final BlendMode DARKEN
      Selects the darker of the backdrop or source colors.
    • LIGHTEN

      public static final BlendMode LIGHTEN
      Selects the lighter of the backdrop or source colors.
    • COLOR_DODGE

      public static final BlendMode COLOR_DODGE
      Brighten the backdrop color to reflect the source color.
    • COLOR_BURN

      public static final BlendMode COLOR_BURN
      Darken the backdrop color to reflect the source color.
    • EXCLUSION

      public static final BlendMode EXCLUSION
      Similar to the Difference mode, but lower in contrast.
    • HARD_LIGHT

      public static final BlendMode HARD_LIGHT
      Multiplies or screens the colors, depending on the source color value.
    • OVERLAY

      public static final BlendMode OVERLAY
      Multiplies or screens the colors, depending on the backdrop color value. Source colors overlay the backdrop while preserving highlights and shadows. The backdrop color is mixed with the source color to reflect the lightness or darkness of the backdrop.
    • SOFT_LIGHT

      public static final BlendMode SOFT_LIGHT
      Darkens or lightens the colors, depending on the source color value.
    • LUMINOSITY

      public static final BlendMode LUMINOSITY
      Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color.
    • HUE

      public static final BlendMode HUE
      Creates a color with the hue of the source color and the saturation and luminosity of the background color.
    • SATURATION

      public static final BlendMode SATURATION
      Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color.
    • COLOR

      public static final BlendMode COLOR
      Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color.
    • UNKNOWN

      public static final BlendMode UNKNOWN
  • Method Details

    • values

      public static BlendMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BlendMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null