Class: Archimate::Svg::Entity::Path
- Inherits:
-
RectEntity
- Object
- BaseEntity
- RectEntity
- Archimate::Svg::Entity::Path
- Defined in:
- lib/archimate/svg/entity/path.rb
Instance Attribute Summary
Attributes inherited from BaseEntity
#background_class, #badge, #badge_bounds, #bounds_offset, #child, #entity, #text_bounds
Instance Method Summary collapse
-
#initialize(child, bounds_offset) ⇒ Path
constructor
A new instance of Path.
Methods inherited from RectEntity
Methods included from Rect
Methods inherited from BaseEntity
#entity_badge, #entity_label, #group_attrs, #optional_link, #shape_style, #text_lines, #text_style, #to_svg
Constructor Details
#initialize(child, bounds_offset) ⇒ Path
Returns a new instance of Path.
7 8 9 10 |
# File 'lib/archimate/svg/entity/path.rb', line 7 def initialize(child, bounds_offset) super @badge = "#archimate-communication-path-badge" end |