|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.ColorFormatEx
public class ColorFormatEx
Represents a color used in a pptx presentation.
Nested Class Summary | |
---|---|
static class |
ColorFormatEx.FloatColor
|
Constructor Summary | |
---|---|
ColorFormatEx(com.aspose.slides.pptx.ISlideComponent parent)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
Determines whether the two ColorFormatEx instances are equal. |
byte |
getB()
Returns the blue component of a color. |
java.awt.Color |
getColor()
Returns resulting color (with all color transformations applied) |
ColorTransformEx |
getColorTransform()
Returns the collection of color transformations applied to a color. |
ColorTypeEx |
getColorType()
Returns the color definition method. |
float |
getFloatB()
Returns the blue component of a color. |
ColorFormatEx.FloatColor |
getFloatColor(BaseSlideEx slide,
ColorFormatEx.FloatColor styleColor)
|
float |
getFloatG()
Returns the green component of a color. |
float |
getFloatR()
Returns the red component of a color. |
byte |
getG()
Returns the green component of a color. |
float |
getHue()
Returns the Hue component of a color in HSL representation. |
float |
getLuminance()
Returns the Luminance component of a color in HSL representation. |
PresetColorEx |
getPresetColor()
Returns the color preset. |
byte |
getR()
Returns the red component of a color. |
float |
getSaturation()
Returns the Saturation component of a color in HSL representation. |
SchemeColorEx |
getSchemeColor()
Returns the color identified by a color scheme. |
SystemColorEx |
getSystemColor()
Returns the color identified by the system color table. |
void |
loadColor(PptxBaseXmlElement source,
boolean removeElement)
|
void |
loadColor(PptxBaseXmlElement sourceContainer,
java.lang.String localName,
java.lang.String namespaceUri)
|
void |
setB(byte value)
Sets the blue component of a color. |
void |
setColor(java.awt.Color value)
Sets RGB colors and clears all color transformations. |
void |
setColorType(ColorTypeEx value)
Sets the color definition method. |
void |
setFloatB(float value)
Sets the blue component of a color. |
void |
setFloatG(float value)
Sets the green component of a color. |
void |
setFloatR(float value)
Sets the red component of a color. |
void |
setG(byte value)
Sets the green component of a color. |
void |
setHue(float value)
Sets the Hue component of a color in HSL representation. |
void |
setLuminance(float value)
Sets the Luminance component of a color in HSL representation. |
void |
setPresetColor(PresetColorEx value)
Sets the color preset. |
void |
setR(byte value)
Sets the red component of a color. |
void |
setSaturation(float value)
Sets the Saturation component of a color in HSL representation. |
void |
setSchemeColor(SchemeColorEx value)
Sets the color identified by a color scheme. |
void |
setSystemColor(SystemColorEx value)
Sets the color identified by the system color table. |
PptxBaseXmlElement |
writeColor(PptxBaseXmlElement target,
java.lang.String localName,
boolean forceSaving)
|
PptxBaseXmlElement |
writeColor(PptxBaseXmlElement target,
java.lang.String localName,
java.lang.String namespaceURI,
boolean forceSaving)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorFormatEx(com.aspose.slides.pptx.ISlideComponent parent)
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public void loadColor(PptxBaseXmlElement sourceContainer, java.lang.String localName, java.lang.String namespaceUri)
public void loadColor(PptxBaseXmlElement source, boolean removeElement)
public PptxBaseXmlElement writeColor(PptxBaseXmlElement target, java.lang.String localName, boolean forceSaving)
public PptxBaseXmlElement writeColor(PptxBaseXmlElement target, java.lang.String localName, java.lang.String namespaceURI, boolean forceSaving)
public ColorFormatEx.FloatColor getFloatColor(BaseSlideEx slide, ColorFormatEx.FloatColor styleColor)
public java.awt.Color getColor()
public void setColor(java.awt.Color value)
value
- new color value.public ColorTypeEx getColorType()
ColorTypeEx
.public void setColorType(ColorTypeEx value)
value
- new color definition method. See ColorTypeEx
.public PresetColorEx getPresetColor()
PresetColorEx
.public void setPresetColor(PresetColorEx value)
value
- new color preset. See PresetColorEx
.public SystemColorEx getSystemColor()
SystemColorEx
.public void setSystemColor(SystemColorEx value)
value
- new system color. See SystemColorEx
.public SchemeColorEx getSchemeColor()
SchemeColorEx
.public void setSchemeColor(SchemeColorEx value)
value
- new scheme color. See SchemeColorEx
.public byte getR()
public void setR(byte value)
value
- new red value.public byte getG()
public void setG(byte value)
value
- new green value.public byte getB()
public void setB(byte value)
value
- new blue value.public float getFloatR()
public void setFloatR(float value)
value
- new red value.public float getFloatG()
public void setFloatG(float value)
value
- new green value.public float getFloatB()
public void setFloatB(float value)
value
- new blue value.public float getHue()
public void setHue(float value)
value
- new Hue value.public float getSaturation()
public void setSaturation(float value)
value
- new Saturation value.public float getLuminance()
public void setLuminance(float value)
value
- new Luminance value.public ColorTransformEx getColorTransform()
ColorTransformEx
.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The ColorFormatEx to compare with the current ColorFormatEx.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |