Class: Ambling::Line::Settings::Axes::X
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::Axes::X
- Includes:
- Base
- Defined in:
- lib/ambling/line.rb
Overview
X axis
Constant Summary collapse
- VALUES =
[:color,:alpha,:width,:tick_length]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- 100
-
(0 - 100).
-
#color ⇒ Object
- #000000
-
(hex color code).
-
#tick_length ⇒ Object
- 7
-
(Number).
-
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline.
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- 100
-
(0 - 100)
797 798 799 |
# File 'lib/ambling/line.rb', line 797 def alpha @alpha end |
#color ⇒ Object
- #000000
-
(hex color code)
792 793 794 |
# File 'lib/ambling/line.rb', line 792 def color @color end |
#tick_length ⇒ Object
- 7
-
(Number)
807 808 809 |
# File 'lib/ambling/line.rb', line 807 def tick_length @tick_length end |
#width ⇒ Object
- 2
-
(Number) line width, 0 for hairline
802 803 804 |
# File 'lib/ambling/line.rb', line 802 def width @width end |