markStopsDirty method

void markStopsDirty()

Mark the gradient stops as changed. This will re-sort the stops and rebuild the necessary gradients in the next update cycle.

Implementation

void markStopsDirty() {
  addDirt(ComponentDirt.stops | ComponentDirt.paint);
  markPaintDirty();
}