ColorFormat

ColorFormat class

Represents a color used in a presentation.

copyFrom

NameDescription
copyFrom (ColorFormat)Copy color format from “color”.

equals

NameDescription
equals (Object)Checks for equality with specified object.

Parameters:

NameTypeDescription
objObjectObject.

Result: boolean


getB

NameDescription
getB ()Returns or sets the blue component of a color. All color transformations are ignored. Read/write byte.

Result: byte


getColor

NameDescription
getColor ()Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write java.awt.Color.

Result: Color


getColorTransform

NameDescription
getColorTransform ()Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection.

Result: ColorOperationCollection


getColorType

NameDescription
getColorType ()Returns or sets the color definition function. Read/write ColorType.

Result: int


getFloatB

NameDescription
getFloatB ()Returns or sets the blue component of a color. All color transformations are ignored. Read/write float.

Result: float


getFloatG

NameDescription
getFloatG ()Returns or sets the green component of a color. All color transformations are ignored. Read/write float.

Result: float


getFloatR

NameDescription
getFloatR ()Returns or sets the red component of a color. All color transformations are ignored. Read/write float.

Result: float


getG

NameDescription
getG ()Returns or sets the green component of a color. All color transformations are ignored.

Result: byte


getHue

NameDescription
getHue ()Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write float.

Result: float


getLuminance

NameDescription
getLuminance ()Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write float.

Result: float


getParent_IPresentationComponent

NameDescription
getParent_IPresentationComponent ()

Result: MasterTheme, PVIObject, PictureFrame, AlphaCeiling, ColorReplace, FillFormat, GrayScale, AutoShape, SectionZoomFrame, CellCollection, FillOverlay, HSL, PatternFormat, DataLabelCollection, Duotone, DataLabel, Tab, SummaryZoomFrame, ShapeBevel, LineFormat, ColorScheme, ChartSeries, BasePortionFormat, SummaryZoomSection, Presentation, OleObjectFrame, Theme, Hyperlink, SketchFormat, CellFormat, DataTable, AlphaFloor, ParagraphFormat, GroupShape, NotesSlide, SmartArtShape, GradientFormat, MasterHandoutSlide, AlphaBiLevel, Trendline, Slide, Axis, ColorChange, MasterNotesSlide, Connector, LegendEntryProperties, LightRig, Ink, BaseSlide, Background, BiLevel, Blur, VideoFrame, Row, DataLabelFormat, Field, ChartPortionFormat, TextFrame, LayoutSlide, LegacyDiagram, ColorFormat, ThreeDFormat, GraphicalObject, Shape, GradientStop, ZoomFrame, ChartTitle, MasterSlide, EffectFormat, Control, ChartSeriesGroup, ErrorBarsFormat, Column, PictureFillFormat, Chart, Backdrop3DScene, Format, Portion, ImageTransformOperation, Luminance, AlphaModulate, LineFillFormat, ZoomObject, BulletFormat, Cell, Picture, FormatScheme, AlphaInverse, TextFrameFormat, Paragraph, MathPortion, TextStyle, OverrideTheme, SmartArt, AlphaModulateFixed, ParagraphCollection, ChartPlotArea, ImageTransformOperationCollection, GeometryShape, AudioFrame, GradientStopCollection, Tint, PortionFormat, Legend, AlphaReplace, Table, Camera


getParent_ISlideComponent

NameDescription
getParent_ISlideComponent ()

Result: PVIObject, PictureFrame, AlphaCeiling, ColorReplace, FillFormat, GrayScale, AutoShape, SectionZoomFrame, CellCollection, FillOverlay, HSL, PatternFormat, DataLabelCollection, Duotone, DataLabel, Tab, SummaryZoomFrame, ShapeBevel, LineFormat, ColorScheme, ChartSeries, BasePortionFormat, SummaryZoomSection, OleObjectFrame, Hyperlink, SketchFormat, CellFormat, DataTable, AlphaFloor, ParagraphFormat, GroupShape, NotesSlide, SmartArtShape, GradientFormat, MasterHandoutSlide, AlphaBiLevel, Trendline, Slide, Axis, ColorChange, MasterNotesSlide, Connector, LegendEntryProperties, LightRig, Ink, BaseSlide, Background, BiLevel, Blur, VideoFrame, Row, DataLabelFormat, Field, ChartPortionFormat, TextFrame, LayoutSlide, LegacyDiagram, ColorFormat, ThreeDFormat, GraphicalObject, Shape, GradientStop, ZoomFrame, ChartTitle, MasterSlide, EffectFormat, Control, ChartSeriesGroup, ErrorBarsFormat, Column, PictureFillFormat, Chart, Backdrop3DScene, Format, Portion, ImageTransformOperation, Luminance, AlphaModulate, LineFillFormat, ZoomObject, BulletFormat, Cell, Picture, FormatScheme, AlphaInverse, TextFrameFormat, Paragraph, MathPortion, TextStyle, SmartArt, AlphaModulateFixed, ParagraphCollection, ChartPlotArea, ImageTransformOperationCollection, GeometryShape, AudioFrame, GradientStopCollection, Tint, PortionFormat, Legend, AlphaReplace, Table, Camera


getPresetColor

NameDescription
getPresetColor ()Returns or sets the color preset. Read/write PresetColor.

Result: int


getR

NameDescription
getR ()Returns or sets the red component of a color. All color transformations are ignored. Read/write byte.

Result: byte


getSaturation

NameDescription
getSaturation ()Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write float.

Result: float


getSchemeColor

NameDescription
getSchemeColor ()Returns or sets the color identified by a color scheme. Read/write SchemeColor.

Result: int


getSystemColor

NameDescription
getSystemColor ()Returns or sets the color identified by the system color table. Read/write SystemColor.

Result: int


getVersion

NameDescription
getVersion ()

Result: long


hashCode

NameDescription
hashCode ()Returns hash code.

Result: int


setB

NameDescription
setB (byte)Returns or sets the blue component of a color. All color transformations are ignored. Read/write byte.

setColor

NameDescription
setColor (Color)Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write java.awt.Color.

setColorType

NameDescription
setColorType (int)Returns or sets the color definition function. Read/write ColorType.

setFloatB

NameDescription
setFloatB (float)Returns or sets the blue component of a color. All color transformations are ignored. Read/write float.

setFloatG

NameDescription
setFloatG (float)Returns or sets the green component of a color. All color transformations are ignored. Read/write float.

setFloatR

NameDescription
setFloatR (float)Returns or sets the red component of a color. All color transformations are ignored. Read/write float.

setG

NameDescription
setG (byte)Returns or sets the green component of a color. All color transformations are ignored.

setHue

NameDescription
setHue (float)Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write float.

setLuminance

NameDescription
setLuminance (float)Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write float.

setPresetColor

NameDescription
setPresetColor (int)Returns or sets the color preset. Read/write PresetColor.

setR

NameDescription
setR (byte)Returns or sets the red component of a color. All color transformations are ignored. Read/write byte.

setSaturation

NameDescription
setSaturation (float)Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write float.

setSchemeColor

NameDescription
setSchemeColor (int)Returns or sets the color identified by a color scheme. Read/write SchemeColor.

setSystemColor

NameDescription
setSystemColor (int)Returns or sets the color identified by the system color table. Read/write SystemColor.

toString

NameDescription
toString (int)Returns a String that represents the current color format.

Parameters:

NameTypeDescription
formatintA type of color string format.

Result: String