Class: Lutaml::Xsd::Spa::Svg::LayoutNode
- Inherits:
-
Object
- Object
- Lutaml::Xsd::Spa::Svg::LayoutNode
- Defined in:
- lib/lutaml/xsd/spa/svg/layout_engine.rb
Overview
Value object representing a positioned layout node
Instance Attribute Summary collapse
-
#box ⇒ Object
readonly
Returns the value of attribute box.
-
#component ⇒ Object
readonly
Returns the value of attribute component.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
Instance Method Summary collapse
-
#initialize(component:, box:, level:) ⇒ LayoutNode
constructor
A new instance of LayoutNode.
Constructor Details
#initialize(component:, box:, level:) ⇒ LayoutNode
Returns a new instance of LayoutNode.
73 74 75 76 77 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 73 def initialize(component:, box:, level:) @component = component @box = box @level = level end |
Instance Attribute Details
#box ⇒ Object (readonly)
Returns the value of attribute box.
71 72 73 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 71 def box @box end |
#component ⇒ Object (readonly)
Returns the value of attribute component.
71 72 73 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 71 def component @component end |
#level ⇒ Object (readonly)
Returns the value of attribute level.
71 72 73 |
# File 'lib/lutaml/xsd/spa/svg/layout_engine.rb', line 71 def level @level end |