(self, view, origin=ORIGIN, **kwargs)
| 151 | # D R A W B O T / F L A T S U P P O R T |
| 152 | |
| 153 | def build(self, view, origin=ORIGIN, **kwargs): |
| 154 | |
| 155 | p = pointOffset(self.origin, origin) |
| 156 | p = self._applyScale(view, p) |
| 157 | px, py, _ = p = self._applyAlignment(p) # Ignore z-axis for now. |
| 158 | self.drawFrame(view, p) # Draw optional frame or borders. |
| 159 | |
| 160 | # Let the view draw frame info for debugging, in case view.showFrame == True |
| 161 | view.drawElementFrame(self, p) |
| 162 | self.buildChildElements(view, p, **kwargs) |
| 163 | self._restoreScale(view) |
| 164 | view.drawElementInfo(self, origin) # Depends on css flag 'showElementInfo' |
| 165 | |
| 166 | # H T M L / S A S S S U P P O R T |
| 167 |
nothing calls this directly
no test coverage detected