MCPcopy Create free account
hub / github.com/BerkeleyAutomation/meshrender / resize

Method resize

meshrender/trackball.py:65–73  ·  view source on GitHub ↗

Resize the window. Parameters ---------- size : (float, float) The new width and height of the camera image in pixels.

(self, size)

Source from the content-addressed store, hash-verified

63 self._state = state
64
65 def resize(self, size):
66 """Resize the window.
67
68 Parameters
69 ----------
70 size : (float, float)
71 The new width and height of the camera image in pixels.
72 """
73 self._size = np.array(size)
74
75 def down(self, point):
76 """Record an initial mouse press at a given point.

Callers 1

on_resizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected