class AdjPoint2D(Serialisable): x = Coordinate() y = Coordinate() def __init__(self, x=None, y=None, ): self.x = x self.y = y
class Point2D(Serialisable): tagname = "off" namespace = DRAWING_NS x = Coordinate() y = Coordinate() def __init__(self, x=None, y=None, ): self.x = x self.y = y
class GeomRect(Serialisable): l = Coordinate() t = Coordinate() r = Coordinate() b = Coordinate() def __init__(self, l=None, t=None, r=None, b=None, ): self.l = l self.t = t self.r = r self.b = b