Class: QML::Geometry::Rectangle
- Inherits:
-
Struct
- Object
- Struct
- QML::Geometry::Rectangle
- Defined in:
- lib/qml/geometry/rectangle.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
Returns the value of attribute height.
-
#width ⇒ Object
Returns the value of attribute width.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#height ⇒ Object
Returns the value of attribute height
3 4 5 |
# File 'lib/qml/geometry/rectangle.rb', line 3 def height @height end |
#width ⇒ Object
Returns the value of attribute width
3 4 5 |
# File 'lib/qml/geometry/rectangle.rb', line 3 def width @width end |
#x ⇒ Object
Returns the value of attribute x
3 4 5 |
# File 'lib/qml/geometry/rectangle.rb', line 3 def x @x end |
#y ⇒ Object
Returns the value of attribute y
3 4 5 |
# File 'lib/qml/geometry/rectangle.rb', line 3 def y @y end |