Class: Archimate::Svg::Entity::FunctionEntity
- Inherits:
-
RoundedRectEntity
- Object
- BaseEntity
- RoundedRectEntity
- Archimate::Svg::Entity::FunctionEntity
- Defined in:
- lib/archimate/svg/entity/function_entity.rb
Direct Known Subclasses
ApplicationFunction, BusinessFunction, InfrastructureFunction, TechnologyFunction
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) ⇒ FunctionEntity
constructor
A new instance of FunctionEntity.
Methods inherited from RoundedRectEntity
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) ⇒ FunctionEntity
Returns a new instance of FunctionEntity.
7 8 9 10 |
# File 'lib/archimate/svg/entity/function_entity.rb', line 7 def initialize(child, bounds_offset) super @badge = "#archimate-function-badge" end |