com.aspose.pdf.facades

Class FontColor



  • public final class FontColor
    extends Object

    Class representing color of the text.

    • Constructor Summary

      Constructors 
      Constructor and Description
      FontColor()
      Initializes color.
      FontColor(int r, int g, int b)
      Initializes color with specified color components.
    • Constructor Detail

      • FontColor

        public FontColor(int r,
                 int g,
                 int b)

        Initializes color with specified color components.

        Parameters:
        r - Red component.
        g - Green component.
        b - Blue component.
      • FontColor

        public FontColor()

        Initializes color.

    • Method Detail

      • getGreen

        public int getGreen()

        Gets green component of color.

        Returns:
        green component of color.
      • setGreen

        public void setGreen(int value)

        Sets green component of color.

        Parameters:
        value - green component of color.
      • getRed

        public int getRed()

        Gets red component of color.

        Returns:
        red component of color.
      • setRed

        public void setRed(int value)

        Sets red component of color.

        Parameters:
        value - red component of color.
      • getBlue

        public int getBlue()

        Gets blue component of color.

        Returns:
        blue component of color.
      • setBlue

        public void setBlue(int value)

        Sets blue component of color.

        Parameters:
        value - blue component of color.