Gets the height.
(self)
| 579 | return None |
| 580 | |
| 581 | def getHeight(self): |
| 582 | """ |
| 583 | Gets the height. |
| 584 | """ |
| 585 | |
| 586 | if self.useUiAutomator: |
| 587 | return self.map['bounds'][1][1] - self.map['bounds'][0][1] |
| 588 | else: |
| 589 | try: |
| 590 | return int(self.map[self.heightProperty]) |
| 591 | except: |
| 592 | return 0 |
| 593 | |
| 594 | def getWidth(self): |
| 595 | """ |
no outgoing calls