Return the canvas y coordinate of pixel position SCREENY rounded to nearest multiple of GRIDSPACING units.
(self, screeny, gridspacing=None)
| 3038 | self._w, 'canvasx', screenx, gridspacing)) |
| 3039 | |
| 3040 | def canvasy(self, screeny, gridspacing=None): |
| 3041 | """Return the canvas y coordinate of pixel position SCREENY rounded |
| 3042 | to nearest multiple of GRIDSPACING units.""" |
| 3043 | return self.tk.getdouble(self.tk.call( |
| 3044 | self._w, 'canvasy', screeny, gridspacing)) |
| 3045 | |
| 3046 | def coords(self, *args): |
| 3047 | """Return a list of coordinates for the item given in ARGS.""" |