def text(self):
        """Get indent text as \t or string of spaces
        """
        if self.useTabs:
            return '\t'
        else:
            return ' ' * self.width
def getLenp1(self):
        p2 = self.p2
        ret = p2.distance(self.p3)
        return ret