|
DoEnableGradients(Boolean)
|
This method enables or disables gradients in the SVG for the instrument.
Descendant classes override this method to respond to EnableGradients property changes.
|
|
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.
|
|
DoUpdateDesign
|
Updates the SVG design of the instrument to simple or detailed based on Design property.
Descendant classes override this method to modify the SVG in response to Design property changes. Simple designs usually mean making some extra element's invisible.
|
|
DoUpdateLight
|
Updates colors of SVG elements based on changes in the LightColor property.
Descendant classes can override this method to provide a color cast to the SVG based on LightColor changes.
|
|
DoUpdateParts
|
Update the parts of the SVG based on changes to the Parts property.
Descendant classes override this method to show or hide different elements in the SVG based on Parts property changes.
|
|
FontChanged(TObject)
|
Occurs when the font changes and the numeric labels must be redrawn in the new font.
|
|
GetSVGResourceName
|
Returns the name of the resource that contains the SVG. The class uses this name to load the embedded SVG from a resource. (Overrides FMX.RS.Impact.Instruments.TRSSVGCustomInstrument.GetSVGResourceName.)
|
|
InitializeLabels
|
Initializes the numeric labels of the thermometer based on the Min and Max properties.
|
|
InitializeThermometer
|
Initializes the thermometer, including the numeric speed labels. It also sets the MinMercury and MaxMercury values to the absolute minimum and maximum temperatures that can be shown with the gauge.
|
|
LoadSVGProperties
|
Initializes local properties from the SVG. Descendant classes override this method to initialize their properties (such as FrameColor) from elements in the SVG. (Overrides FMX.RS.Impact.Instruments.TRSSVGCustomInstrument.LoadSVGProperties.)
|
|
LoadSVGResource(string)
|
Load the SVG from an embedded resource. This method initializes the ActiveSVGElement property and should be used to initialize any control fields (such as colors) that are dependant on the values in the SVG. (Overrides FMX.RS.SVGControl.TRSSVGControl.LoadSVGResource(String).)
|
|
UpdateMercury
|
Updates the level of the mercury in the thermometer to the Value property.
|
|
UpdateNumbers
|
This method updates any text elements that display numbers in the gauge. This method is called when the FormatStr property changes so that the class can respond to new formatting for numbers.
Descendant classes should override this method to update any text elements with numbers
|
|
UpdateRange
|
Updates the MinMercury and MaxMercury properties based on Min and Max
|