PaintingContext constructor

  1. @protected
PaintingContext(ContainerLayer _containerLayer, Rect estimatedBounds)

Creates a painting context.

Typically only called by PaintingContext.repaintCompositedChild and pushLayer.

Implementation

@protected
PaintingContext(this._containerLayer, this.estimatedBounds)
  : assert(_containerLayer != null),
    assert(estimatedBounds != null);