개정판 8b804ab7
issue #103: symbol text area testing
Change-Id: Ie3a2206dc9e5e54eb2157302b33df735885533a8
DTI_PID/DTI_PID/Area.py | ||
---|---|---|
17 | 17 |
self.y = None |
18 | 18 |
self.width = None |
19 | 19 |
self.height = None |
20 |
|
|
21 |
def center(self): |
|
22 |
return (round(self.x + self.width / 2), round(self.y + self.height / 2)) |
|
20 | 23 |
|
21 | 24 |
''' |
22 | 25 |
@brief getter of name |
내보내기 Unified diff