Class: Ambling::Line::Settings::ZoomOutButton

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

Constant Summary collapse

VALUES =
[:x,:y,:color,:alpha,:text_color,:text_color_hover,:text_size,:text]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

0

(0 - 100) background alpha



1203
1204
1205
# File 'lib/ambling/line.rb', line 1203

def alpha
  @alpha
end

#colorObject

#BBBB00

(hex color code) background color



1198
1199
1200
# File 'lib/ambling/line.rb', line 1198

def color
  @color
end

#textObject

Show all

(text)



1223
1224
1225
# File 'lib/ambling/line.rb', line 1223

def text
  @text
end

#text_colorObject

text_color

(hex color code) button text and magnifying glass icon color



1208
1209
1210
# File 'lib/ambling/line.rb', line 1208

def text_color
  @text_color
end

#text_color_hoverObject

#BBBB00

(hex color code) button text and magnifying glass icon roll over color



1213
1214
1215
# File 'lib/ambling/line.rb', line 1213

def text_color_hover
  @text_color_hover
end

#text_sizeObject

text_size

(Number) button text size



1218
1219
1220
# File 'lib/ambling/line.rb', line 1218

def text_size
  @text_size
end

#xObject

(Number / Number% / !Number) x position of zoom out button, if not defined, will be aligned to right of plot area



1188
1189
1190
# File 'lib/ambling/line.rb', line 1188

def x
  @x
end

#yObject

(Number / Number% / !Number) y position of zoom out button, if not defined, will be aligned to top of plot area



1193
1194
1195
# File 'lib/ambling/line.rb', line 1193

def y
  @y
end