Packages

 

com.aspose.imaging.xmp.types.complex.colorant

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 - The red component value.
        green - The green component value.
        blue - The blue component value.
    • Method Detail

      • getRed

        public byte getRed()

        Gets or sets the red component value.

        Value: The red component value.
      • setRed

        public void setRed(byte value)

        Gets or sets the red component value.

        Value: The red component value.
      • getGreen

        public byte getGreen()

        Gets or sets the green component value.

        Value: The green component value.
      • setGreen

        public void setGreen(byte value)

        Gets or sets the green component value.

        Value: The green component value.
      • getBlue

        public byte getBlue()

        Gets or sets the blue component value.

        Value: The blue component value.
      • setBlue

        public void setBlue(byte value)

        Gets or sets the blue component value.

        Value: The blue component value.