Navigation: Code Documentation > RSVclImpact > RS.Impact.Instruments > Classes > TRSSVGCustomInstrument > Methods
TRSSVGCustomInstrument.SaveGradientColor(TSVGCustomGradient) Method
Stores gradient stop colors in the tags of the SVG elements. This allows restoring the gradient stop colors without reloading the svg
Namespace: RS.Impact.Instruments
Delphi
protected procedure SaveGradientColor( const Gradient: TSVGCustomGradient );
Parameters
Gradient
Type: TSVGCustomGradient
•RS.Impact.Instruments.TRSSVGCustomInstrument.RestoreGradientColor(TSVGCustomGradient)
•TRSSVGCustomInstrument
•RS.Impact.Instruments