Module: Archimate::Svg::Entity::Rect
- Included in:
- Node, RectEntity
- Defined in:
- lib/archimate/svg/entity/rect.rb
Instance Method Summary collapse
Instance Method Details
#rect_path(xml, bounds) ⇒ Object
7 8 9 |
# File 'lib/archimate/svg/entity/rect.rb', line 7 def rect_path(xml, bounds) xml.rect(x: bounds.left, y: bounds.top, width: bounds.width, height: bounds.height, class: background_class, style: shape_style) end |