Class Ambling::Line::Settings::Labels::Label
In: lib/ambling/line.rb
Parent: Object

Included Modules

Base

Constants

VALUES = [:x,:y,:rotate,:width,:align,:text_color,:text_size,:text]

Attributes

align  [RW] 
left
(left / center / right)
rotate  [RW] 
false
(true / false)
text  [RW] 
(text) html tags may be used (supports , <i>, <u>, <font>, <a href="">, <br/>. Enter text between []: <![CDATA[your <b>bold and italic text]]>
text_color  [RW] 
text_color
(hex color code) button text color
text_size  [RW]  [text_size](Number) button text size
width  [RW] 
(Number) if empty, will stretch from left to right untill label fits
x  [RW] 
0
(Number)
y  [RW] 
0
(Number)

[Validate]