createChildContext method

  1. @protected
PaintingContext createChildContext (
  1. ContainerLayer childLayer,
  2. Rect bounds
)
@protected

Creates a painting context configured to paint into childLayer.

The bounds are estimated paint bounds for debugging purposes.

Implementation

@protected
PaintingContext createChildContext(ContainerLayer childLayer, Rect bounds) {
  return PaintingContext(childLayer, bounds);
}