Class: DependencyChart::Palette
- Inherits:
-
Struct
- Object
- Struct
- DependencyChart::Palette
- Defined in:
- lib/jirametrics/dependency_chart.rb
Overview
A fill and the label colour that goes on top of it, kept together because they are not independent choices: some of these fills are light and take black text, others are dark and take white, and a node that took its fill from one and its label from another would be unreadable. Always hand them out as a pair.
Instance Attribute Summary collapse
-
#fill ⇒ Object
Returns the value of attribute fill.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Attribute Details
#fill ⇒ Object
Returns the value of attribute fill
39 40 41 |
# File 'lib/jirametrics/dependency_chart.rb', line 39 def fill @fill end |
#label ⇒ Object
Returns the value of attribute label
39 40 41 |
# File 'lib/jirametrics/dependency_chart.rb', line 39 def label @label end |