commitLayers method

void commitLayers(
  1. Array<Rect> layerRects,
  2. Point offset
)

This overridable method is called by #commitLayout to support custom arrangement of bands or labels across each layout layer. By default this method does nothing.

The coordinates used in the resulting Rects may need to be offset by the Layout#arrangementOrigin.

Implementation

void commitLayers(
  _i7.Array<_i3.Rect> layerRects,
  _i3.Point offset,
) {
  _i4.callMethod(
    this,
    'commitLayers',
    [
      layerRects,
      offset,
    ],
  );
}