Class: Floorplanner::XML::Item
- Inherits:
-
Object
- Object
- Floorplanner::XML::Item
- Includes:
- ROXML
- Defined in:
- lib/floorplanner/xml.rb
Instance Method Summary collapse
Instance Method Details
#mirrored ⇒ Object
91 92 93 |
# File 'lib/floorplanner/xml.rb', line 91 def mirrored @mirrored ||= Floorplanner::XML.parse_vector(mirrored_str) end |
#position ⇒ Object
83 84 85 |
# File 'lib/floorplanner/xml.rb', line 83 def position @position ||= Floorplanner::XML.parse_point(points) end |
#rotation ⇒ Object
87 88 89 |
# File 'lib/floorplanner/xml.rb', line 87 def rotation @rotation ||= Floorplanner::XML.parse_rotation(rotation_str) end |
#size ⇒ Object
79 80 81 |
# File 'lib/floorplanner/xml.rb', line 79 def size @scale ||= Floorplanner::XML.parse_vector(size_str) end |
#type ⇒ Object
75 76 77 |
# File 'lib/floorplanner/xml.rb', line 75 def type type_str.to_sym end |