Class: Ambling::Line::Settings::Legend::Key
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::Legend::Key
- Includes:
- Base
- Defined in:
- lib/ambling/line.rb
Overview
KEY (the color box near every legend entry)
Constant Summary collapse
- VALUES =
[:size,:border_color,:key_mark_color]
Instance Attribute Summary collapse
-
#border_color ⇒ Object
-
(hex color code) leave empty if you don’t want to have border.
-
#key_mark_color ⇒ Object
- #FFFFFF
-
(hex color code) key tick mark color.
-
#size ⇒ Object
- 16
-
(Number) key size.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#border_color ⇒ Object
-
(hex color code) leave empty if you don’t want to have border
1116 1117 1118 |
# File 'lib/ambling/line.rb', line 1116 def border_color @border_color end |
#key_mark_color ⇒ Object
- #FFFFFF
-
(hex color code) key tick mark color
1121 1122 1123 |
# File 'lib/ambling/line.rb', line 1121 def key_mark_color @key_mark_color end |
#size ⇒ Object
- 16
-
(Number) key size
1111 1112 1113 |
# File 'lib/ambling/line.rb', line 1111 def size @size end |