Navigation: Code Documentation > RSFMXImpact > FMX.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: FMX.RS.Impact.Instruments
Delphi
protected procedure SaveGradientColor( const Gradient: TSVGCustomGradient );
Parameters
Gradient
Type: TSVGCustomGradient
•FMX.RS.Impact.Instruments.TRSSVGCustomInstrument.RestoreGradientColor(TSVGCustomGradient)
•TRSSVGCustomInstrument
•FMX.RS.Impact.Instruments