update method

  1. @override
void update(
  1. int dirt
)

Implementation

@override
void update(int dirt) {
  if (dirt & ComponentDirt.worldTransform != 0) {
    var rect = Rect.fromLTWH(0, 0, width, height);
    path.reset();
    path.addRect(rect);
  }
}