ColorFormat

ColorFormat class

Represents a color used in a presentation.

copyFrom

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

equals

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

Parameters:

NameTypeDescription
objObjectObject.

Result: boolean


getB

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

Result: 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.

Result: Color


getColorTransform

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

Result: ColorOperationCollection


getColorType

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

Result: int


getFloatB

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

Result: float


getFloatG

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

Result: float


getFloatR

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

Result: float


getG

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

Result: byte


getHue

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

Result: float


getLuminance

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

Result: float


getParent_IPresentationComponent

NameDescription
getParent_IPresentationComponent()

getParent_IPresentationComponent

NameDescription
getParent_IPresentationComponent()

getParent_ISlideComponent

NameDescription
getParent_ISlideComponent()

getParent_ISlideComponent

NameDescription
getParent_ISlideComponent()

getParent_Immediate

NameDescription
getParent_Immediate()

getPresentation

NameDescription
getPresentation()

Result: Presentation


getPresetColor

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

Result: int


getR

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

Result: byte


getSaturation

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

Result: float


getSchemeColor

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

Result: int


getSlide

NameDescription
getSlide()

Result: BaseSlide


getSystemColor

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

Result: int


getVersion

NameDescription
getVersion()

Result: long


getVersion

NameDescription
getVersion()

Result: long


hashCode

NameDescription
hashCode()Returns hash code.

Result: int


setB

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

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.

setColorType

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

setFloatB

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

setFloatG

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

setFloatR

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

setG

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

setHue

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

setLuminance

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

setPresetColor

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

setR

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

setSaturation

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

setSchemeColor

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

setSystemColor

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

toString

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

Parameters:

NameTypeDescription
formatintA type of color string format.

Result: String