Class: QML::Geometry::Size

Inherits:
Struct
  • Object
show all
Defined in:
lib/qml/geometry/size.rb

Instance Attribute Summary collapse

Instance Attribute Details

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



3
4
5
# File 'lib/qml/geometry/size.rb', line 3

def height
  @height
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



3
4
5
# File 'lib/qml/geometry/size.rb', line 3

def width
  @width
end