Class: Qt::Rect

Inherits:
Object show all
Includes:
PrintableRect
Defined in:
lib/rui/toolkits/qtbase/qt.rb

Instance Method Summary collapse

Methods included from PrintableRect

#to_s

Instance Method Details

#to_fObject



153
154
155
# File 'lib/rui/toolkits/qtbase/qt.rb', line 153

def to_f
  Qt::RectF.new(self.x, self.y, self.width, self.height)
end