Class: Ambling::Line::Settings::Grid::X
- Inherits:
-
Object
- Object
- Ambling::Line::Settings::Grid::X
- Includes:
- Base
- Defined in:
- lib/ambling/line.rb
Overview
vertical grid
Constant Summary collapse
- VALUES =
[:enabled,:color,:alpha,:dashed,:dash_length,:approx_count]
Instance Attribute Summary collapse
-
#alpha ⇒ Object
- 15
-
(0 - 100).
-
#approx_count ⇒ Object
- 4
-
(Number) approximate number of gridlines.
-
#color ⇒ Object
- #000000
-
(hex color code).
-
#dash_length ⇒ Object
- 5
-
(Number).
-
#dashed ⇒ Object
[false](true / false).
-
#enabled ⇒ Object
- true
-
(true / false).
Method Summary
Methods included from Base
#build_xml, #initialize, #populate, #to_xml
Instance Attribute Details
#alpha ⇒ Object
- 15
-
(0 - 100)
402 403 404 |
# File 'lib/ambling/line.rb', line 402 def alpha @alpha end |
#approx_count ⇒ Object
- 4
-
(Number) approximate number of gridlines
417 418 419 |
# File 'lib/ambling/line.rb', line 417 def approx_count @approx_count end |
#color ⇒ Object
- #000000
-
(hex color code)
397 398 399 |
# File 'lib/ambling/line.rb', line 397 def color @color end |
#dash_length ⇒ Object
- 5
-
(Number)
412 413 414 |
# File 'lib/ambling/line.rb', line 412 def dash_length @dash_length end |
#dashed ⇒ Object
[false](true / false)
407 408 409 |
# File 'lib/ambling/line.rb', line 407 def dashed @dashed end |
#enabled ⇒ Object
- true
-
(true / false)
392 393 394 |
# File 'lib/ambling/line.rb', line 392 def enabled @enabled end |