ColorFormat

Overview

ColorFormat is a class in Aspose.Slides FOSS for Java. Inherits from: IColorFormat, IFillParamSource.

Represents a color used in a presentation.

Properties

NameTypeAccessDescription
colorTypeColorTypeRead
colorColorReadThe color color.
presetColorPresetColorRead
schemeColorSchemeColorRead
rintRead
gintRead
bintRead
floatRfloatRead
floatGfloatRead
floatBfloatRead
huefloatRead
saturationfloatRead
luminancefloatRead

Methods

SignatureDescription
ColorFormat(parentElement: Element, saveCallback: Runnable)Creates a new ColorFormat backed by the given parent XML element.
ColorFormat(parentElement: Element)Creates a new ColorFormat backed by the given parent XML element with no save callback.
getColorType()ColorType
setColorType(value: ColorType)
getColor()Color
setColor(value: Color)
getPresetColor()PresetColor
setPresetColor(value: PresetColor)
getSchemeColor()SchemeColor
setSchemeColor(value: SchemeColor)
getR()int
setR(value: int)
getG()int
setG(value: int)
getB()int
setB(value: int)
getFloatR()float
setFloatR(value: float)
getFloatG()float
setFloatG(value: float)
getFloatB()float
setFloatB(value: float)
getHue()float
setHue(value: float)
getSaturation()float
setSaturation(value: float)
getLuminance()float
setLuminance(value: float)

See Also