applyPaintTransform method

  1. @override
void applyPaintTransform (covariant RenderBox child, Matrix4 transform)
override

Applies the transform that would be applied when painting the given child to the given matrix.

Used by coordinate conversion functions to translate coordinates local to one render object into coordinates local to another render object.

Implementation

@override
void applyPaintTransform(RenderBox child, Matrix4 transform) {
  assert(_rootTransform != null);
  transform.multiply(_rootTransform);
  super.applyPaintTransform(child, transform);
}