Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSGraphics > Routines

RectGradient(TCanvas,TCanvasRect,TCanvasColor[],Integer,Single) Method

Scroll Prev Top Next More

Paints a rectangular portion of the canvas with a gradient specified by the Colors array.

Namespace: RSGraphics

Parameters

Canvas

Type: TCanvas

Canvas to paint on

ARect

Type: System.Void

Rectangle portion of the canvas to fill with the gradient

Colors

Type: array of TCanvasColor

Colors of the gradient

LineSize

Type: Integer

Step (or coarseness) of the gradient

Opacity

Type: Single

Transparency of the gradient (FMX Only)

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb