Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.Graphics > Routines

ProgressPie(TCanvas,TCanvasRect,Integer,Integer,Integer,Integer,TColors,Boolean,Integer,Integer,TProgressDirection,TProgressDisplayType) Method

Scroll Prev Top Next More

Draws a pie-shaped progress "bar" using a gradient. Similar to a progress bar, but in a Pie shape. Pie slices are drawn up to the current progress position.
 

Namespace: FMX.RS.Graphics

Parameters

Canvas

Type: TCanvas

Canvas to paint on

CanvasR

Type: System.Void

Rectangle portion of the canvas to fill with the gradient

OuterPadding

Type: Integer

Amount in pixels the circle is less that the rectangle

Progress

Type: Integer

Amount of progress (between Min and Max)

Min

Type: Integer

Minimum value for the progress

Max

Type: Integer

Maximum value for the progress

Colors

Type: TColors

Gradient colors

AdjustPenColor

Type: Boolean

Adjust pen color or use pen supplied in canvas.

SubDivisions

Type: Integer

Number of subdivisions in the scale (<= Max)

Spacing

Type: Integer

Space in pixels between subdivisions

Direction

Type: TProgressDirection

Direction progress circle grows towards

DisplayType

Type: TProgressDisplayType

Draw all progress or only current progress

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb