TRVShape.Color, Opacity

<< Click to display table of contents >>

TRVShape.Color, Opacity

Fill color and opacity for the shape.

property Color: TRVColor;

property Opacity: TRVOpacity;

If GradientType = rvgtNone, the shape is filled with this color. Otherwise, this color is used as an ending gradient color (the starting color is StartColor).

Opacity must be in range from 0 (transparent) to 100000 (opaque).

VCL and LCL: Gradient and opacity are used only if shapes are drawn using GDI+ (in Delphi XE2+ and optionally in Lazarus).

Default value

Color: $C68E63 for VCL and LCL; $FF638EC6 for FMX

Opacity: 100000 (i.e. 100%)