TRVShape.Color, Opacity

<< Click to display table of contents >>

TRVShape.Color, Opacity

Fill color and opacity for the shape.

property Color: TColor;

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).

Gradient and opacity are used only if shapes are drawn using GDI+ (in Delphi XE2+).

Default value

Color: $C68E63

Opacity: 100000 (i.e. 100%)