Navigation: Code Documentation > RSVclImpact > RS.Impact.Lights > Classes > TRSTrafficLight > Methods
TRSTrafficLight.DoUpdateLight Method
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.
Namespace: RS.Impact.Lights
Delphi
protected procedure DoUpdateLight; override;
Overrides
TRSSVGCustomInstrument.DoUpdateLight
•SVG
•RS.Impact.Instruments.TRSSVGCustomInstrument.LightColor
•RS.Impact.Instruments.TRSSVGCustomInstrument.ShadowColor
•RS.Impact.Instruments.TRSSVGCustomInstrument.UpdateLight
•TRSTrafficLight
•RS.Impact.Lights