com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IColorFormat

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void copyFrom(IColorFormat color)
      Copy color format from "color".
      byte getB()
      Returns or sets the blue component of a color.
      java.awt.Color getColor()
      Returns resulting color (with all color transformations applied).
      IColorOperationCollection getColorTransform()
      Returns the collection of color transformations applied to a color.
      int getColorType()
      Returns or sets the color definition method.
      float getFloatB()
      Returns or sets the blue component of a color.
      float getFloatG()
      Returns or sets the green component of a color.
      float getFloatR()
      Returns or sets the red component of a color.
      byte getG()
      Returns or sets the green component of a color.
      float getHue()
      Returns or sets the hue component of a color in HSL representation.
      float getLuminance()
      Returns or sets the luminance component of a color in HSL representation.
      int getPresetColor()
      Returns or sets the color preset.
      byte getR()
      Returns or sets the red component of a color.
      float getSaturation()
      Returns or sets the saturation component of a color in HSL representation.
      int getSchemeColor()
      Returns or sets the color identified by a color scheme.
      int getSystemColor()
      Returns or sets the color identified by the system color table.
      void setB(byte value)
      Returns or sets the blue component of a color.
      void setColor(java.awt.Color value)
      Returns resulting color (with all color transformations applied).
      void setColorType(int value)
      Returns or sets the color definition method.
      void setFloatB(float value)
      Returns or sets the blue component of a color.
      void setFloatG(float value)
      Returns or sets the green component of a color.
      void setFloatR(float value)
      Returns or sets the red component of a color.
      void setG(byte value)
      Returns or sets the green component of a color.
      void setHue(float value)
      Returns or sets the hue component of a color in HSL representation.
      void setLuminance(float value)
      Returns or sets the luminance component of a color in HSL representation.
      void setPresetColor(int value)
      Returns or sets the color preset.
      void setR(byte value)
      Returns or sets the red component of a color.
      void setSaturation(float value)
      Returns or sets the saturation component of a color in HSL representation.
      void setSchemeColor(int value)
      Returns or sets the color identified by a color scheme.
      void setSystemColor(int value)
      Returns or sets the color identified by the system color table.
      java.lang.String toString(int format)
      Returns a String that represents the current color format.
    • Method Detail

      • getColorType

        int getColorType()

        Returns or sets the color definition method. Read/write ColorType.

      • setColorType

        void setColorType(int value)

        Returns or sets the color definition method. Read/write ColorType.

      • getColor

        java.awt.Color getColor()

        Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write Color.

      • setColor

        void setColor(java.awt.Color value)

        Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write Color.

      • getPresetColor

        int getPresetColor()

        Returns or sets the color preset. Read/write PresetColor.

      • setPresetColor

        void setPresetColor(int value)

        Returns or sets the color preset. Read/write PresetColor.

      • getSystemColor

        int getSystemColor()

        Returns or sets the color identified by the system color table. Read/write SystemColor.

      • setSystemColor

        void setSystemColor(int value)

        Returns or sets the color identified by the system color table. Read/write SystemColor.

      • getSchemeColor

        int getSchemeColor()

        Returns or sets the color identified by a color scheme. Read/write SchemeColor.

      • setSchemeColor

        void setSchemeColor(int value)

        Returns or sets the color identified by a color scheme. Read/write SchemeColor.

      • getR

        byte getR()

        Returns or sets the red component of a color. All color transformations are ignored. Read/write byte.

      • setR

        void setR(byte value)

        Returns or sets the red component of a color. All color transformations are ignored. Read/write byte.

      • getG

        byte getG()

        Returns or sets the green component of a color. All color transformations are ignored. Read/write byte.

      • setG

        void setG(byte value)

        Returns or sets the green component of a color. All color transformations are ignored. Read/write byte.

      • getB

        byte getB()

        Returns or sets the blue component of a color. All color transformations are ignored. Read/write byte.

      • setB

        void setB(byte value)

        Returns or sets the blue component of a color. All color transformations are ignored. Read/write byte.

      • getFloatR

        float getFloatR()

        Returns or sets the red component of a color. All color transformations are ignored. Read/write float.

      • setFloatR

        void setFloatR(float value)

        Returns or sets the red component of a color. All color transformations are ignored. Read/write float.

      • getFloatG

        float getFloatG()

        Returns or sets the green component of a color. All color transformations are ignored. Read/write float.

      • setFloatG

        void setFloatG(float value)

        Returns or sets the green component of a color. All color transformations are ignored. Read/write float.

      • getFloatB

        float getFloatB()

        Returns or sets the blue component of a color. All color transformations are ignored. Read/write float.

      • setFloatB

        void setFloatB(float value)

        Returns or sets the blue component of a color. All color transformations are ignored. Read/write float.

      • getHue

        float getHue()

        Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write float.

      • setHue

        void setHue(float value)

        Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write float.

      • getSaturation

        float getSaturation()

        Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write float.

      • setSaturation

        void setSaturation(float value)

        Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write float.

      • getLuminance

        float getLuminance()

        Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write float.

      • setLuminance

        void setLuminance(float value)

        Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write float.

      • toString

        java.lang.String toString(int format)

        Returns a String that represents the current color format.

        Parameters:
        format - A type of color string format.
        Returns:
        A string that represents the current color format.
      • copyFrom

        void copyFrom(IColorFormat color)

        Copy color format from "color".