OOF2: The Manual
Name
TranslucentGray (TranslucentGray) — A gray color with an opacity component.
Synopsis
TranslucentGray(value, alpha)
Details
-
Base class:
TranslucentColor -
Parameters:
value- Gray value (0=black, 1=white). Type: A real number in the range [0, 1].
alpha- Opacity. Type: A real number in the range [0, 1].
Description
TranslucentGray is a variety of OpaqueColor that can only represent
shades of gray. value is a floating point number
between 0 and 1, inclusive, where 0 is black and 1 is white.
alpha is the opacity of the color. It is a
floating point number between 0 and 1, where 0 is completely
transparent and 1 is completely opaque.
TranslucentGray(x, a) is equivalent to RGBAColor(x,x,x,a).



