An abstract diagram item that is composed of multiple other diagram items. More...
Methods defined here: | |
def | ClearHighlight |
def | Highlight |
def | __init__ |
Methods inherited from DiagramItem: | |
def | Draw |
def | Erase |
Data and other attributes inherited from DiagramItem: | |
float | expansion_factor = 100.0 |
Additional Inherited Members | |
Public Member Functions inherited from diagram.DiagramBuilder.DiagramItem | |
Static Public Attributes inherited from diagram.DiagramBuilder.DiagramItem | |
float | expansion_factor = 100.0 |
An abstract diagram item that is composed of multiple other diagram items.
def diagram.DiagramBuilder.CompositeItem.__init__ | ( | args | ) |
Creates a new instance. Parameters: items: The subordinate diagram items.
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
def diagram.DiagramBuilder.CompositeItem.ClearHighlight | ( | args | ) |
ClearHighlight(args)
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
def diagram.DiagramBuilder.CompositeItem.Draw | ( | args | ) |
Draws the diagram item on the canvas. Parameters: canvas: The canvas widget. Returns A list of ids of items added to the canvas.
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
def diagram.DiagramBuilder.CompositeItem.Erase | ( | args | ) |
Erases the diagram item from the canvas. Parameters: canvas: The canvas widget.
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
def diagram.DiagramBuilder.CompositeItem.Highlight | ( | args | ) |
Highlight(args)
Reimplemented from diagram.DiagramBuilder.DiagramItem.
Reimplemented in diagram.DiagramBuilder.LabeledArrowItem, and diagram.DiagramBuilder.DimensionItem.
|
static |