Class: Archimate::Svg::Entity::Stakeholder
- Inherits:
-
MotivationEntity
- Object
- BaseEntity
- MotivationEntity
- Archimate::Svg::Entity::Stakeholder
- Defined in:
- lib/archimate/svg/entity/stakeholder.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) ⇒ Stakeholder
constructor
A new instance of Stakeholder.
Methods inherited from MotivationEntity
Methods inherited from BaseEntity
#entity_badge, #entity_label, #group_attrs, #layer_background_class, #optional_link, #shape_style, #text_lines, #text_style, #to_svg
Constructor Details
#initialize(child, bounds_offset) ⇒ Stakeholder
Returns a new instance of Stakeholder.
8 9 10 11 |
# File 'lib/archimate/svg/entity/stakeholder.rb', line 8 def initialize(child, bounds_offset) super @badge = "#archimate-role-badge" end |