void (final @NotNull Graphics2D g2, final @NotNull List<? extends Crumb> crumbList, final @NotNull Painter painter, final int height) { UISettings.setupAntialiasing(g2); //final int height = myImage.getHeight(); final int pageOffset = getPageOffset(); for (final Crumb each : crumbList) { if (each.getOffset() >= pageOffset && each.getOffset() < pageOffset + myPageWidth) { each.paint(g2, painter, height, pageOffset); } } }