Draws the actual element content. Inheriting elements classes can redefine this method only to fill in drawing behaviour. @p is the transformed position to draw in the main canvas. Main drawing method for elements to draw their content and the content of th
(self, view, p, **kwargs)
| 754 | view.drawFlowConnections(self, origin) |
| 755 | |
| 756 | def buildElement(self, view, p, **kwargs): |
| 757 | """ |
| 758 | |
| 759 | Draws the actual element content. Inheriting elements classes can |
| 760 | redefine this method only to fill in drawing behaviour. @p is the |
| 761 | transformed position to draw in the main canvas. |
| 762 | |
| 763 | Main drawing method for elements to draw their content and the |
| 764 | content of their children if they exist. @p is the transformed position |
| 765 | of the context canvas. To be redefined by inheriting element classes |
| 766 | that need to draw more than just their child elements. |
| 767 | |
| 768 | """ |
| 769 | self.buildChildElements(view, p, **kwargs) |
| 770 | |
| 771 | def buildChildElements(self, view, origin=None, **kwargs): |
| 772 | """Draws child elements, dispatching depends on the implementation of |
no test coverage detected