OOF2: The Manual

Name

TranslucentGray (TranslucentGray) — A gray color with an opacity component.

Synopsis

TranslucentGray(value,alpha)

Details

  • Base class: Color
  • 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

GrayColor is a variety of Color 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.

GrayColor(x) is equivalent to RGBColor(x,x,x).