Navigation: Code Documentation > RSVclImpact > RS.Impact.Lights > Classes > TRSTrafficLight > Methods
TRSTrafficLight.DoEnableGradients(Boolean) Method
This method enables or disables gradients in the SVG for the instrument.
Descendant classes override this method to respond to EnableGradients property changes.
Namespace: RS.Impact.Lights
Delphi
protected procedure DoEnableGradients(const Value: Boolean); override;
Parameters
Value
Type: Boolean
TRSSVGCustomInstrument.DoEnableGradients(Boolean)
•RS.Impact.Instruments.TRSSVGCustomInstrument.EnableGradients
•RS.Impact.Instruments.TRSSVGCustomInstrument.DoEnableGradient(String,String,Boolean,TSVGColor,Boolean)
•RS.Impact.Instruments.TRSSVGCustomInstrument.UpdateGradients
•TRSTrafficLight
•RS.Impact.Lights