paintChanged method

void paintChanged()
inherited

Implementation

void paintChanged() {
  addDirt(ComponentDirt.path);

  // Add world transform dirt to the direct dependents (don't recurse) as
  // things like ClippingShape directly depend on their referenced Shape. This
  // allows them to recompute any stored values which can change when the
  // transformAffectsStroke property changes (whether the path is in world
  // space or not). Consider using a different dirt type if this pattern is
  // repeated.
  for (final d in dependents) {
    d.addDirt(ComponentDirt.worldTransform);
  }
}