Class: Ambling::Line::Settings::Help::Balloon

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

Overview

help balloon

Constant Summary collapse

VALUES =
[:color,:alpha,:width,:text_color,:text_size,:text]

Instance Attribute Summary collapse

Method Summary

Methods included from Base

#build_xml, #initialize, #populate, #to_xml

Instance Attribute Details

#alphaObject

100

(0 - 100) background alpha



1305
1306
1307
# File 'lib/ambling/line.rb', line 1305

def alpha
  @alpha
end

#colorObject

#000000

(hex color code) background color



1300
1301
1302
# File 'lib/ambling/line.rb', line 1300

def color
  @color
end

#textObject

(text) some html tags may be used (supports , <i>, <u>, <font>, <br/>. Enter text between []: <![CDATA[your <b>bold and italic text]]>



1325
1326
1327
# File 'lib/ambling/line.rb', line 1325

def text
  @text
end

#text_colorObject

#FFFFFF

(hex color code) button text color



1315
1316
1317
# File 'lib/ambling/line.rb', line 1315

def text_color
  @text_color
end

#text_sizeObject

(Number) button text size



1320
1321
1322
# File 'lib/ambling/line.rb', line 1320

def text_size
  @text_size
end

#widthObject

300

(Number)



1310
1311
1312
# File 'lib/ambling/line.rb', line 1310

def width
  @width
end