Since setX() is not supported the constructors now take location and extent. Python wrapper allows construction the old way with l0,l1 or with tuples (x0,x1),(y0,y1).