rvico TRichView Reference | Types

TRVOpacity Type

Top  Previous  Next

Unit RVStyle;

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.


TRichView © trichview.com