renderGroup method

  1. @override
List<Figure> renderGroup(
  1. List<Aes> group,
  2. CoordConv coord,
  3. Offset origin
)
override

Renders the whole group of tuples.

The tuples are rendered in groups. the Aes.shape of the first tuple of a group will be taken as a represent, and it's renderGroup method decides the basic way to render the whole group. The renderGroup method then may call renderItems of each tuple of the group respectively or render in it's own way accrording to the implementation.

Implementation

@override
List<Figure> renderGroup(
  List<Aes> group,
  CoordConv coord,
  Offset origin,
) {
  assert(coord is RectCoordConv);
  assert(!coord.transposed);

  final rst = <Figure>[];
  for (var item in group) {
    rst.addAll(item.shape.renderItem(item, coord, origin));
  }
  return rst;
}