ColorFormat

ColorFormat class

Represents a color used in a presentation.

public sealed class ColorFormat : PVIObject, IColorFormat

Properties

NameDescription
AsIPresentationComponent { get; }Allows to get base IPresentationComponent interface. Read-only IPresentationComponent.
B { get; set; }Returns or sets the blue component of a color. All color transformations are ignored. Read/write Byte.
Color { get; set; }Returns resulting color (with all color transformations applied). Sets RGB colors and clears all color transformations. Read/write Color.
ColorTransform { get; }Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection.
ColorType { get; set; }Returns or sets the color definition method. Read/write ColorType.
FloatB { get; set; }Returns or sets the blue component of a color. All color transformations are ignored. Read/write Single.
FloatG { get; set; }Returns or sets the green component of a color. All color transformations are ignored. Read/write Single.
FloatR { get; set; }Returns or sets the red component of a color. All color transformations are ignored. Read/write Single.
G { get; set; }Returns or sets the green component of a color. All color transformations are ignored.
Hue { get; set; }Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write Single.
Luminance { get; set; }Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write Single.
PresetColor { get; set; }Returns or sets the color preset. Read/write PresetColor.
R { get; set; }Returns or sets the red component of a color. All color transformations are ignored. Read/write Byte.
Saturation { get; set; }Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write Single.
SchemeColor { get; set; }Returns or sets the color identified by a color scheme. Read/write SchemeColor.
SystemColor { get; set; }Returns or sets the color identified by the system color table. Read/write SystemColor.

Methods

NameDescription
CopyFrom(IColorFormat)Copy color format from “color”.
override Equals(object)Checks for equality with specified object.
override GetHashCode()Returns hash code.
ToString(ColorStringFormat)Returns a String that represents the current color format.

See Also