Return a list of coordinates for the item given in ARGS.
(self, *args)
| 3044 | self._w, 'canvasy', screeny, gridspacing)) |
| 3045 | |
| 3046 | def coords(self, *args): |
| 3047 | """Return a list of coordinates for the item given in ARGS.""" |
| 3048 | args = _flatten(args) |
| 3049 | return [self.tk.getdouble(x) for x in |
| 3050 | self.tk.splitlist( |
| 3051 | self.tk.call((self._w, 'coords') + args))] |
| 3052 | |
| 3053 | def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={}) |
| 3054 | """Internal function.""" |