Class: Windows::Structures::Desktop
- Inherits:
-
Struct
- Object
- Struct
- Windows::Structures::Desktop
- Defined in:
- lib/windows/structures/desktop.rb
Instance Attribute Summary collapse
-
#geometry ⇒ Object
Returns the value of attribute geometry.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#geometry ⇒ Object
Returns the value of attribute geometry
3 4 5 |
# File 'lib/windows/structures/desktop.rb', line 3 def geometry @geometry end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/windows/structures/desktop.rb', line 3 def id @id end |
Instance Method Details
#height ⇒ Object
8 9 10 |
# File 'lib/windows/structures/desktop.rb', line 8 def height geometry[3] end |
#width ⇒ Object
4 5 6 |
# File 'lib/windows/structures/desktop.rb', line 4 def width geometry[2] end |
#x_offset ⇒ Object
12 13 14 |
# File 'lib/windows/structures/desktop.rb', line 12 def x_offset geometry[0] end |
#y_offset ⇒ Object
16 17 18 |
# File 'lib/windows/structures/desktop.rb', line 16 def y_offset geometry[1] end |