Return the canvas y coordinate of pixel position SCREENY rounded to nearest multiple of GRIDSPACING units.
(self, screeny, gridspacing=None)
| 2955 | self._w, 'canvasx', screenx, gridspacing)) |
| 2956 | |
| 2957 | def canvasy(self, screeny, gridspacing=None): |
| 2958 | """Return the canvas y coordinate of pixel position SCREENY rounded |
| 2959 | to nearest multiple of GRIDSPACING units.""" |
| 2960 | return self.tk.getdouble(self.tk.call( |
| 2961 | self._w, 'canvasy', screeny, gridspacing)) |
| 2962 | |
| 2963 | def coords(self, *args): |
| 2964 | """Return a list of coordinates for the item given in ARGS.""" |