complexpoly: ($: ComplexPolygon, theta) =>
            new ComplexPolygon(
                rotate($.boundary, theta),
                $.children.map((child) => rotate(child, theta)),
                __copyAttribs($.attribs)