Class: Ambling::Line::Settings::Grid::X

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

15

(0 - 100)



402
403
404
# File 'lib/ambling/line.rb', line 402

def alpha
  @alpha
end

#approx_countObject

4

(Number) approximate number of gridlines



417
418
419
# File 'lib/ambling/line.rb', line 417

def approx_count
  @approx_count
end

#colorObject

#000000

(hex color code)



397
398
399
# File 'lib/ambling/line.rb', line 397

def color
  @color
end

#dash_lengthObject

5

(Number)



412
413
414
# File 'lib/ambling/line.rb', line 412

def dash_length
  @dash_length
end

#dashedObject

[false](true / false)



407
408
409
# File 'lib/ambling/line.rb', line 407

def dashed
  @dashed
end

#enabledObject

true

(true / false)



392
393
394
# File 'lib/ambling/line.rb', line 392

def enabled
  @enabled
end