Method: AX::Element#bounds
- Defined in:
- lib/ax/element.rb
#bounds ⇒ CGRect Also known as: to_rect
Get the bounding rectangle for the element.
475 476 477 |
# File 'lib/ax/element.rb', line 475 def bounds CGRect.new(attribute(:position), attribute(:size)) end |