Class: SvgDocument::Rectangle
- Includes:
- HasBounds
- Defined in:
- lib/gamebox/core/svg_document.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes included from HasBounds
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(node) ⇒ Rectangle
constructor
A new instance of Rectangle.
Methods included from HasBounds
Methods inherited from Base
#game_class, #game_handle, #visible?
Methods included from HasTranslation
Constructor Details
#initialize(node) ⇒ Rectangle
Returns a new instance of Rectangle.
147 148 149 150 |
# File 'lib/gamebox/core/svg_document.rb', line 147 def initialize(node) super node set_bounds_from_attributes end |