TRVOpacity Type

<< Click to display table of contents >>

TRVOpacity Type

Unit [VCL/FMX]: RVStyle / fmxRVStyle.

type

  TRVOpacity = type Integer;

Specifies the object opacity in 1/1000 of percent. Valid values are in range 0..100 000. The larger the value, the less transparent the object is.

For example:

0 means full transparency, the object is invisible

100 000 means that the object is opaque

50 500 means 50.5% opacity.

Physically, only 256 gradations of transparency is supported by screen and other devices. The higher precision range is chosen for the convenience of specifying opacity in fractions of percent.