shapesOn method
Shapes of one PDF page / EPUB chapter, in paint order.
Implementation
List<UDocShape> shapesOn(int pageIndex) {
final Map<int, List<UDocShape>> index = _shapesByPage ??= _buildShapeIndex();
return index[pageIndex] ?? const <UDocShape>[];
}