IColorFormat — Aspose.Slides FOSS Java API Reference

IColorFormat — Represents a color used in a presentation.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
colorTypeColorTypeRead/Write
colorColorRead/Write
presetColorPresetColorRead/Write
schemeColorSchemeColorRead/Write
rintRead/Write
gintRead/Write
bintRead/Write
floatRfloatRead/Write
floatGfloatRead/Write
floatBfloatRead/Write
huefloatRead/Write
saturationfloatRead/Write
luminancefloatRead/Write

Methods

MethodReturnsDescription
getColorType()ColorTypeReturns the color definition method.
setColorType(ColorType value)voidSets the color definition method.
getColor()ColorReturns the resulting color (sRGB).
setColor(Color value)voidSets the color as an sRGB value, clearing any existing color definition.
getPresetColor()PresetColorReturns the color preset.
setPresetColor(PresetColor value)voidSets the color preset.
getSchemeColor()SchemeColorReturns the color identified by a color scheme.
setSchemeColor(SchemeColor value)voidSets the color identified by a color scheme.
getR()intReturns the red component of a color (0-255).
setR(int value)voidSets the red component of a color (0-255).
getG()intReturns the green component of a color (0-255).
setG(int value)voidSets the green component of a color (0-255).
getB()intReturns the blue component of a color (0-255).
setB(int value)voidSets the blue component of a color (0-255).
getFloatR()floatReturns the red component as a float (0.
setFloatR(float value)voidSets the red component as a float (0.
getFloatG()floatReturns the green component as a float (0.
setFloatG(float value)voidSets the green component as a float (0.
getFloatB()floatReturns the blue component as a float (0.
setFloatB(float value)voidSets the blue component as a float (0.
getHue()floatReturns the hue component (0-360).
setHue(float value)voidSets the hue component (0-360).
getSaturation()floatReturns the saturation component (0-100).
setSaturation(float value)voidSets the saturation component (0-100).
getLuminance()floatReturns the luminance component (0-100).
setLuminance(float value)voidSets the luminance component (0-100).

See Also