TRVShapeItemInfo.Color, Opacity

<< Click to display table of contents >>

TRVShapeItemInfo.Color, Opacity

Fill color and opacity for the shape.

Color: TColor;

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

Use TRichViewEdit.SetCurrentItemExtraIntPropertyEx to change value of these properties as an editing operation (rveipcShapeColor, rveipcShapeOpacity).

Default values

Color: $C68E63

Opacity: 100000 (i.e. 100%)