Class: RubyQt6::QtCore::QPoint

Inherits:
Object
  • Object
show all
Defined in:
lib/qt6/qtcore/qpoint.rb

Overview

Instance Method Summary collapse

Constructor Details

#initializeQPoint #initialize(xpos, ypos) ⇒ QPoint

Overloads:

  • #initialize(xpos, ypos) ⇒ QPoint

    Parameters:

    • xpos (Integer)
    • ypos (Integer)


17
18
19
20
21
22
# File 'lib/qt6/qtcore/qpoint.rb', line 17

def initialize(*args)
  case args.size
  when 2 then _initialize(*args.map(&:to_i))
  else _initialize(*args)
  end
end