|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ColorFormatEx
public class ColorFormatEx
Represents a color used in a pptx presentation.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the two ColorFormatEx instances are equal. |
byte |
getB()
Returns or sets the blue component of a color. |
java.awt.Color |
getColor()
|
ColorOperationExCollection |
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. |
int |
hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
void |
setB(byte value)
|
void |
setColor(java.awt.Color value)
|
void |
setColorType(int value)
|
void |
setFloatB(float value)
|
void |
setFloatG(float value)
|
void |
setFloatR(float value)
|
void |
setG(byte value)
|
void |
setHue(float value)
|
void |
setLuminance(float value)
|
void |
setPresetColor(int value)
|
void |
setR(byte value)
|
void |
setSaturation(float value)
|
void |
setSchemeColor(int value)
|
void |
setSystemColor(int value)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.awt.Color getColor()
public void setColor(java.awt.Color value)
public int getColorType()
Returns or sets the color definition method.
Read/write ColorType
.
public void setColorType(int value)
public int getPresetColor()
Returns or sets the color preset.
Read/write PresetColor
.
public void setPresetColor(int value)
public int getSystemColor()
Returns or sets the color identified by the system color table.
Read/write SystemColor
.
public void setSystemColor(int value)
public int getSchemeColor()
Returns or sets the color identified by a color scheme.
Read/write SchemeColor
.
public void setSchemeColor(int value)
public byte getR()
Returns or sets the red component of a color. All color transformations are ignored.
Read/write byte
.
public void setR(byte value)
public byte getG()
Returns or sets the green component of a color. All color transformations are ignored.
Read/write byte
.
public void setG(byte value)
public byte getB()
Returns or sets the blue component of a color. All color transformations are ignored.
Read/write byte
.
public void setB(byte value)
public float getFloatR()
Returns or sets the red component of a color. All color transformations are ignored.
Read/write float
.
public void setFloatR(float value)
public float getFloatG()
Returns or sets the green component of a color. All color transformations are ignored.
Read/write float
.
public void setFloatG(float value)
public float getFloatB()
Returns or sets the blue component of a color. All color transformations are ignored.
Read/write float
.
public void setFloatB(float value)
public float getHue()
Returns or sets the hue component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
public void setHue(float value)
public float getSaturation()
Returns or sets the saturation component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
public void setSaturation(float value)
public float getLuminance()
Returns or sets the luminance component of a color in HSL representation.
All color transformations are ignored.
Read/write float
.
public void setLuminance(float value)
public ColorOperationExCollection getColorTransform()
Returns the collection of color transformations applied to a color.
Read-only ColorOperationExCollection
.
public boolean equals(java.lang.Object obj)
Determines whether the two ColorFormatEx instances are equal.
equals
in class java.lang.Object
obj
- The ColorFormatEx to compare with the current ColorFormatEx.
<b>true</b>
if the specified ColorFormatEx is equal to the current ColorFormatEx; otherwise, <b>false</b>
.public int hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
hashCode
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |