createChildContext method

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

Creates a compatible painting context to paint onto childLayer.

Implementation

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