Creates a DAColor object that represents a color described by its hue, saturation, and lightness values. The object's value at any given time depends on the values of h, s, and l.
lib.ColorHslAnim(
h,
s,
l
)
Returns the DAColor object.
Hue, saturation, and lightness values can range from 0.0 to 1.0. If the corresponding number behavior has a value outside this range, then the number is considered modulo 1.
Same as ColorHslAnim except that h, s, and l are non-animated numbers (doubles).
lib.ColorHsl(
h,
s,
l
)
Creates a DAColor object that represents a color described by its red, green, and blue intensity values. The object's value at any given time depends on the values of r, g, and b.
lib.ColorRgbAnim(
r,
g,
b
)
Returns the DAColor object.
Intensity values can range from 0.0 to 1.0. If the corresponding number behavior has a value outside this range, the integer part of the value is discarded and only the fractional part is used.
Same as ColorRgbAnim except that r, g, and b are non-animated numbers (doubles).
lib.ColorRgb(
r,
g,
b
)
Creates a DAColor object that represents a color described by its red, green, and blue intensity values. The behavior's value at any given time depends on the values of r, g, and b. These values can be in the range [0, 255].
lib.ColorRgb255(
r,
g,
b
)
Returns the DAColor object.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.