Return the canvas y coordinate of pixel position SCREENY rounded to nearest multiple of GRIDSPACING units.
(self, screeny, gridspacing=None)
| 2826 | self._w, 'canvasx', screenx, gridspacing)) |
| 2827 | |
| 2828 | def canvasy(self, screeny, gridspacing=None): |
| 2829 | """Return the canvas y coordinate of pixel position SCREENY rounded |
| 2830 | to nearest multiple of GRIDSPACING units.""" |
| 2831 | return self.tk.getdouble(self.tk.call( |
| 2832 | self._w, 'canvasy', screeny, gridspacing)) |
| 2833 | |
| 2834 | def coords(self, *args): |
| 2835 | """Return a list of coordinates for the item given in ARGS.""" |