PyDocs

Nav

Graphical user interfaces with Tk

Canvas.scale

tkinter

method of Canvas
  • Canvas.scale(tagOrId, xOrigin, yOrigin, xScale, yScale, /)
Rescale the coordinates of all items given by tagOrId in canvas coordinate space. Each x-coordinate is adjusted so that its distance from xOrigin changes by a factor of xScale, and each y-coordinate so that its distance from yOrigin changes by a factor of yScale (a factor of 1.0 leaves the coordinate unchanged).
0 Examples
No examples for tkinter/Canvas.scale.
See Also
No see-alsos for tkinter/Canvas.scale
0 Notes
No notes for Canvas.scale