471472473474475476477478479480481
*/ public final class CustomShape extends Shape { @Override public final void draw(Surface surface) { Context context = surface.getContext(); context.beginPath(); for (ShapeVisitor shape : shapes) { shape.visit(surface); } context.closePath(); }
372373374375376377378379380381382
513514515516517518519520521522523