Hide Comments
Hide Comments

TRSSVGCustomInstrument.ChangeGradientColor(TSVGCustomGradient,TSVGColor,Integer) Method

Comments (0)

Attempts to modify a gradient color scheme to a similar color scheme using NewColor, i.e., if a gradient has 3 gradient stops of dark gray, gray, white and the NewColor is Red, the method will try to change the gradient to red, lighter red, and white.

The BaseColorIndex parameter specifies if which gradient stop is the base color to replace. The base color is replaced with the NewColor unchanged. All other gradient stops are modified from the base color.

Namespace: RS.Impact.Instruments

expandingSyntax

Parameters

Gradient

Type: TSVGCustomGradient

NewColor

Type: TSVGColor

BaseColorIndex

Type: Integer

expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb