|
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 for labels changes
|
|
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 speed labels based on the Min and Max properties.
|
|
InitializeSpeedometer
|
Initializes the speedometer, including the numeric speed labels. It also sets the MinSpeed and MaxSpeed values to the absolute minimum and maximum speed 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).)
|
|
UpdateDecorationFill
|
Updates the Decoration fill color in the gauge (Overrides FMX.RS.Impact.Instruments.TRSSVGCustomInstrument.UpdateDecorationFill.)
|
|
UpdateNeedle
|
Updates the needle based on the current speed Value.
|
|
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
|