def __init__(self, name=None, value=None): """Create a new definition with the given name and value.""" TikZElement.__init__(self) self.nodable = True self.picturable = True self.name = name self.value = value
def __init__(self, text=None, font_size='normal', width=None): """Create a new minipage with the given text, font size and width""" TikZElement.__init__(self) self.nodable = True self.text = text self.font_size = font_size self.width = width
def __init__(self, line_type=None, thickness=None, style=None): """Construct a shape with the given line type, thickness and style""" TikZElement.__init__(self) self.picturable = True self.line_type = line_type self.thickness = thickness self.style = style
def __init__(self, name=None, location=None, content=None, oneline=False): """Construct a new node with the given name, location and content""" TikZElement.__init__(self) self.picturable = True self.name = name self.location = location self.content = content self.oneline = oneline
def __init__(self, name=None, value=None): """Create a new length field with the specified name and length""" TikZElement.__init__(self) self.nodable = True self.picturable = True self.name = name self.value = value self.additions = []
def __init__(self): """Construct an empty picture""" TikZElement.__init__(self) self.nodable = True self.elements = []
def __init__(self, comment=None): """Create a new comment. Comments do not have options""" TikZElement.__init__(self) self.picturable = True self.comment = comment
def __init__(self, name=None): """Constructs a new style with the given name""" TikZElement.__init__(self) self.picturable = True self.name = name
def __init__(self, text=None, font_size='normal'): """Create a new text with the specified font size""" TikZElement.__init__(self) self.nodable = True self.text = text self.font_size = font_size
def __init__(self, name=None, point=None): """Construct a new TikZ Coordinate""" TikZElement.__init__(self) self._name = name self._point = point self.picturable = True