Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ set_xy
Method
set_xy
imagepy/menus/Image/Stack/orthogonal_plg.py:18–20 ·
view source on GitHub ↗
(self, x, y)
Source
from the content-addressed store, hash-verified
16
self.x, self.y = -1, -1
17
18
def
set_xy(self, x, y):
19
if
x!=None:self.x=x
20
if
y!=None:self.y=y
21
22
def
draw(self, dc, f):
23
print(self.x, self.y)
Callers
2
mouse_down
Method · 0.80
mouse_move
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected