Return a list of coordinates for the item given in ARGS.
(self, *args)
| 2961 | self._w, 'canvasy', screeny, gridspacing)) |
| 2962 | |
| 2963 | def coords(self, *args): |
| 2964 | """Return a list of coordinates for the item given in ARGS.""" |
| 2965 | args = _flatten(args) |
| 2966 | return [self.tk.getdouble(x) for x in |
| 2967 | self.tk.splitlist( |
| 2968 | self.tk.call((self._w, 'coords') + args))] |
| 2969 | |
| 2970 | def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={}) |
| 2971 | """Internal function.""" |