An example of a Grid Object – it is set on the FloatCanvas with one of:
FloatCanvas.GridUnder = Grid
FloatCanvas.GridOver = Grid
It will be drawn every time, regardless of the viewport.
In its _Draw method, it computes what to draw, given the ViewPortBB of the Canvas it’s being drawn on.
Initialize self. See help(type(self)) for accurate signature. |
|
An example of a Grid Object – it is set on the FloatCanvas with one of:
FloatCanvas.GridUnder = Grid
FloatCanvas.GridOver = Grid
It will be drawn every time, regardless of the viewport.
In its _Draw method, it computes what to draw, given the ViewPortBB of the Canvas it’s being drawn on.
Initialize self. See help(type(self)) for accurate signature.