commitLayers method

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

This overridable method is called by #commitLayout if #layerStyle is LayerUniform 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 and/or by the arrangement of subtrees done by #arrangeTrees.

Implementation

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