markGradientDirty method
void
markGradientDirty()
Mark the gradient as needing to be rebuilt. This is a more efficient version of markStopsDirty as it won't re-sort the stops.
Implementation
void markGradientDirty() {
addDirt(ComponentDirt.paint);
markPaintDirty();
}