com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class ColorantRGB

  • All Implemented Interfaces:
    IXmpType


    public final class ColorantRGB
    extends ColorantBase

    Represents RGB Colorant.

    • Constructor Detail

      • ColorantRGB

        public ColorantRGB()

        Initializes a new instance of the ColorantRGB class.

      • ColorantRGB

        public ColorantRGB(byte red,
                   byte green,
                   byte blue)

        Initializes a new instance of the ColorantRGB class.

        Parameters:
        red - Red component.
        green - Green component.
        blue - Blue component.
    • Method Detail

      • getRed

        public final byte getRed()

        Gets red value.

        Returns:
        Red value.
      • setRed

        public final void setRed(byte value)

        Sets red value.

        Parameters:
        value - Red value.
      • getGreen

        public final byte getGreen()

        Gets green value.

        Returns:
        Green value.
      • setGreen

        public final void setGreen(byte value)

        Sets green value.

        Parameters:
        value - Green value.
      • getBlue

        public final byte getBlue()

        Gets blue value.

        Returns:
        Blue value.
      • setBlue

        public final void setBlue(byte value)

        Sets blue value.

        Parameters:
        value - Blue value.