Class: Ambling::Line::Settings::Axes::X

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/ambling/line.rb

Overview

X axis

Constant Summary collapse

VALUES =
[:color,:alpha,:width,:tick_length]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

100

(0 - 100)



797
798
799
# File 'lib/ambling/line.rb', line 797

def alpha
  @alpha
end

#colorObject

#000000

(hex color code)



792
793
794
# File 'lib/ambling/line.rb', line 792

def color
  @color
end

#tick_lengthObject

7

(Number)



807
808
809
# File 'lib/ambling/line.rb', line 807

def tick_length
  @tick_length
end

#widthObject

2

(Number) line width, 0 for hairline



802
803
804
# File 'lib/ambling/line.rb', line 802

def width
  @width
end