Class: RubyQt6::QtCore::QRect
- Inherits:
-
Object
- Object
- RubyQt6::QtCore::QRect
- Defined in:
- lib/qt6/qtcore/qrect.rb
Overview
Instance Method Summary collapse
- #initialize(*args) ⇒ QRect constructor
Constructor Details
#initialize ⇒ QRect #initialize(x, y, width, height) ⇒ QRect #initialize(top_left, bottom_right) ⇒ QRect #initialize(top_left, size) ⇒ QRect
27 28 29 30 31 32 |
# File 'lib/qt6/qtcore/qrect.rb', line 27 def initialize(*args) case args.size when 4 then _initialize(*args.map(&:to_i)) else _initialize(*args) end end |