ColorFormat
Represents a color used in a presentation.
copyFrom
| Name | Description |
|---|
| copyFrom(ColorFormat) | Copy color format from “color”. |
equals
| Name | Description |
|---|
| equals(Object) | Checks for equality with specified object. |
Parameters:
| Name | Type | Description |
|---|
| obj | Object | Object. |
Returns:
boolean
getB
| Name | Description |
|---|
| getB() | Returns or sets the blue component of a color. All color transformations are ignored. Read/write byte. |
Returns:
byte
getColor
| Name | Description |
|---|
| getColor() | Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write java.awt.Color. |
Returns:
Color
| Name | Description |
|---|
| getColorTransform() | Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection. |
Returns:
ColorOperationCollection
getColorType
| Name | Description |
|---|
| getColorType() | Returns or sets the color definition method. Read/write ColorType. |
Returns:
int
getFloatB
| Name | Description |
|---|
| getFloatB() | Returns or sets the blue component of a color. All color transformations are ignored. Read/write float. |
Returns:
float
getFloatG
| Name | Description |
|---|
| getFloatG() | Returns or sets the green component of a color. All color transformations are ignored. Read/write float. |
Returns:
float
getFloatR
| Name | Description |
|---|
| getFloatR() | Returns or sets the red component of a color. All color transformations are ignored. Read/write float. |
Returns:
float
getG
| Name | Description |
|---|
| getG() | Returns or sets the green component of a color. All color transformations are ignored. |
Returns:
byte
getHue
| Name | Description |
|---|
| getHue() | Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write float. |
Returns:
float
getLuminance
| Name | Description |
|---|
| 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
| Name | Description |
|---|
| getParent_IPresentationComponent() | |
getParent_ISlideComponent
| Name | Description |
|---|
| getParent_ISlideComponent() | |
getPresetColor
| Name | Description |
|---|
| getPresetColor() | Returns or sets the color preset. Read/write PresetColor. |
Returns:
int
getR
| Name | Description |
|---|
| getR() | Returns or sets the red component of a color. All color transformations are ignored. Read/write byte. |
Returns:
byte
getSaturation
| Name | Description |
|---|
| getSaturation() | Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write float. |
Returns:
float
getSchemeColor
| Name | Description |
|---|
| getSchemeColor() | Returns or sets the color identified by a color scheme. Read/write SchemeColor. |
Returns:
int
getSystemColor
| Name | Description |
|---|
| getSystemColor() | Returns or sets the color identified by the system color table. Read/write SystemColor. |
Returns:
int
getVersion
| Name | Description |
|---|
| getVersion() | |
Returns:
long
hashCode
| Name | Description |
|---|
| hashCode() | Returns hash code. |
Returns:
int
setB
| Name | Description |
|---|
| setB(byte) | Returns or sets the blue component of a color. All color transformations are ignored. Read/write byte. |
setColor
| Name | Description |
|---|
| setColor(Color) | Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write java.awt.Color. |
setColorType
| Name | Description |
|---|
| setColorType(int) | Returns or sets the color definition method. Read/write ColorType. |
setFloatB
| Name | Description |
|---|
| setFloatB(float) | Returns or sets the blue component of a color. All color transformations are ignored. Read/write float. |
setFloatG
| Name | Description |
|---|
| setFloatG(float) | Returns or sets the green component of a color. All color transformations are ignored. Read/write float. |
setFloatR
| Name | Description |
|---|
| setFloatR(float) | Returns or sets the red component of a color. All color transformations are ignored. Read/write float. |
setG
| Name | Description |
|---|
| setG(byte) | Returns or sets the green component of a color. All color transformations are ignored. |
setHue
| Name | Description |
|---|
| setHue(float) | Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write float. |
setLuminance
| Name | Description |
|---|
| setLuminance(float) | Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write float. |
setPresetColor
| Name | Description |
|---|
| setPresetColor(int) | Returns or sets the color preset. Read/write PresetColor. |
setR
| Name | Description |
|---|
| setR(byte) | Returns or sets the red component of a color. All color transformations are ignored. Read/write byte. |
setSaturation
| Name | Description |
|---|
| setSaturation(float) | Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write float. |
setSchemeColor
| Name | Description |
|---|
| setSchemeColor(int) | Returns or sets the color identified by a color scheme. Read/write SchemeColor. |
setSystemColor
| Name | Description |
|---|
| setSystemColor(int) | Returns or sets the color identified by the system color table. Read/write SystemColor. |
toString
| Name | Description |
|---|
| toString(int) | Returns a String that represents the current color format. |
Parameters:
| Name | Type | Description |
|---|
| format | int | A type of color string format. |
Returns:
String