def __init__(self, text, charwidth, charheight, charspace=None, linespace=None, origin='bottom-left'): _Shape.__init__(self) self.text = text self.charspace = charspace self.linespace = linespace self.origin = origin self.points = [(0, 0), (charwidth, 0), (charwidth, charheight)] self.never_upside_down = False
def __init__(self, text, charwidth, charheight, charspace = None, linespace = None, origin = 'bottom-left'): _Shape.__init__(self) self.text = text self.charspace = charspace self.linespace = linespace self.origin = origin self.points = [(0, 0), (charwidth, 0), (charwidth, charheight)] self.never_upside_down = False
def __init__(self, shapes=None): _Shape.__init__(self) self._shapes = [] if shapes is None: shapes = [] self.extend(shapes)
def __init__(self, shapes=None): _Shape.__init__(self) self._shapes = [ ] if shapes is None: shapes = [ ] self.extend(shapes)
def __init__(self, points): _Shape.__init__(self) self.points = CoordinateArray(points)