Navigation: Code Documentation > RSVclImpact > RS.Impact.Clocks > Classes > TRSAnalogCalendar
TRSAnalogCalendar Methods
Name
Description
DoInitializeGauge
Initializes the SVG gauge or instrument from the class properties, i.e., apply the properties to the SVG.
Descendant classes override this method to initialize the SVG that draws the gauge with their properties.
InitializeMarkers
Creates the major and minor markers around the gauge based on the number of MajorMarkers and the number of MinorMarkers between them. The StartAngle and StopAngle properties control where the markers start and end on the circle. The shape of the markers depend on the MajorMarkerPath and MinorMarkerPath properties.
Note
One extra major marker is created if the StartAngle and StopAngle are not the same degree on the circle.
InitializeNumberLabels
Initializes the labels on the outside of the gauge with numbers based on the Min and Max properties and how many MajorMarkers have been specified.
The FormatStr property controls how the values are formatted.
UpdateTime
Updates the orientation of the Hands based on the Time property. (Overrides RS.Impact.Instruments.TRSCustomCircularGauge.UpdateTime.)
Top