Table of Contents

TTMSFNCCircleOptionsCustom Class

Base options class that holds the geometry and appearance of the progress arc: the finished and unfinished fills, thickness, margin, and the start and end angles that define the swept range of the circle.

API unit family: TMSFNCWidgetProgress Inherits from: TPersistent

Syntax

TTMSFNCCircleOptionsCustom = class(TPersistent)

Properties

Name Description
EndAngle Angle, in degrees, at which the arc ends. A value of 360 combined with a start angle of 0 produces a full circle.
Fill Fill used to render the completed (finished) part of the arc.
Gap Gap, in pixels, between adjacent arcs when more than one arc is drawn.
Margin Margin, in pixels, between the control bounds and the arc.
StartAngle Angle, in degrees, at which the arc begins. Zero corresponds to the top of the circle.
Thickness Thickness, in pixels, of the finished part of the arc.
UnfinishedFill Fill used to render the remaining (unfinished) part of the arc.
UnfinishedThickness Thickness, in pixels, of the unfinished part of the arc.
ValueGap Gap, in pixels, reserved for the value drawn along the arc.

Methods

Name Description
SetEndAngle Sets the angle, in degrees, at which the arc ends.
SetFill Sets the fill used to draw the completed (finished) part of the arc.
SetGap Sets the gap, in pixels, between adjacent arcs when more than one arc is drawn.
SetMargin Sets the margin, in pixels, between the control bounds and the arc.
SetStartAngle Sets the angle, in degrees, at which the arc begins.
SetThickness Sets the thickness, in pixels, of the finished part of the arc.
SetUnfinishedFill Sets the fill used to draw the remaining (unfinished) part of the arc.
SetUnfinishedThickness Sets the thickness, in pixels, of the unfinished part of the arc.
SetValueGap Sets the gap, in pixels, reserved for the value drawn along the arc.

Events

Name Description
OnChange Occurs when any geometry or appearance setting changes, allowing the owner to repaint.