public override VisitorAction VisitShapeStart(Shape shape) { if (this.isHidden(shape)) shape.Remove(); return VisitorAction.Continue; }