Internal function.
(self, itemType, args, kw)
| 2839 | self.tk.call((self._w, 'coords') + args))] |
| 2840 | |
| 2841 | def _create(self, itemType, args, kw): # Args: (val, val, ..., cnf={}) |
| 2842 | """Internal function.""" |
| 2843 | args = _flatten(args) |
| 2844 | cnf = args[-1] |
| 2845 | if isinstance(cnf, (dict, tuple)): |
| 2846 | args = args[:-1] |
| 2847 | else: |
| 2848 | cnf = {} |
| 2849 | return self.tk.getint(self.tk.call( |
| 2850 | self._w, 'create', itemType, |
| 2851 | *(args + self._options(cnf, kw)))) |
| 2852 | |
| 2853 | def create_arc(self, *args, **kw): |
| 2854 | """Create arc shaped region with coordinates x1,y1,x2,y2.""" |
no test coverage detected