Internal function.
(self, itemType, args, kw)
| 2968 | self.tk.call((self._w, 'coords') + args))] |
| 2969 | |
| 2970 | def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={}) |
| 2971 | """Internal function.""" |
| 2972 | args = _flatten(args) |
| 2973 | cnf = args[-1] |
| 2974 | if isinstance(cnf, (dict, tuple)): |
| 2975 | args = args[:-1] |
| 2976 | else: |
| 2977 | cnf = {} |
| 2978 | return self.tk.getint(self.tk.call( |
| 2979 | self._w, 'create', itemType, |
| 2980 | *(args + self._options(cnf, kw)))) |
| 2981 | |
| 2982 | def create_arc(self, *args, **kw): |
| 2983 | """Create arc shaped region with coordinates x1,y1,x2,y2.""" |
no test coverage detected