ColorFormat

ColorFormat class

Represents a color used in a presentation.

copyFrom

NameDescription
copyFrom (ColorFormat)Copy color format from “color”.

Returns: void


equals

NameDescription
equals (Object)Checks for equality with specified object.

Parameters:

NameTypeDescription
objObjectObject.

Returns: boolean


getB

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

Returns: byte


getColor

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

Returns: Color


getColorTransform

NameDescription
getColorTransform ()Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection.

Returns: ColorOperationCollection


getColorType

NameDescription
getColorType ()Returns or sets the color definition method. Read/write ColorType.

Returns: int


getFloatB

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

Returns: float


getFloatG

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

Returns: float


getFloatR

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

Returns: float


getG

NameDescription
getG ()Returns or sets the green component of a color. All color transformations are ignored.

Returns: byte


getHue

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

Returns: float


getLuminance

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

Returns: float


getParent_IPresentationComponent

NameDescription
getParent_IPresentationComponent ()

getParent_ISlideComponent

NameDescription
getParent_ISlideComponent ()

getPresetColor

NameDescription
getPresetColor ()Returns or sets the color preset. Read/write PresetColor.

Returns: int


getR

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

Returns: byte


getSaturation

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

Returns: float


getSchemeColor

NameDescription
getSchemeColor ()Returns or sets the color identified by a color scheme. Read/write SchemeColor.

Returns: int


getSystemColor

NameDescription
getSystemColor ()Returns or sets the color identified by the system color table. Read/write SystemColor.

Returns: int


getVersion

NameDescription
getVersion ()

Returns: long


hashCode

NameDescription
hashCode ()Returns hash code.

Returns: int


setB

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

Returns: void


setColor

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

Returns: void


setColorType

NameDescription
setColorType (int)Returns or sets the color definition method. Read/write ColorType.

Returns: void


setFloatB

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

Returns: void


setFloatG

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

Returns: void


setFloatR

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

Returns: void


setG

NameDescription
setG (byte)Returns or sets the green component of a color. All color transformations are ignored.

Returns: void


setHue

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

Returns: void


setLuminance

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

Returns: void


setPresetColor

NameDescription
setPresetColor (int)Returns or sets the color preset. Read/write PresetColor.

Returns: void


setR

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

Returns: void


setSaturation

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

Returns: void


setSchemeColor

NameDescription
setSchemeColor (int)Returns or sets the color identified by a color scheme. Read/write SchemeColor.

Returns: void


setSystemColor

NameDescription
setSystemColor (int)Returns or sets the color identified by the system color table. Read/write SystemColor.

Returns: void


toString

NameDescription
toString (int)Returns a String that represents the current color format.

Parameters:

NameTypeDescription
formatintA type of color string format.

Returns: String