new Label(paper, text, params)
Label
This:
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
paper |
Raphael | Raphael Paper instance | |
text |
string | text | |
params |
Object |
<optional> |
object of additional parameters. Currently not used |
- Source:
- /var/www/html/software/raphaelform/raphaelform.src.js, line 121
Properties:
Name | Type | Description |
---|---|---|
attrs |
Object | attributes {x,y} of label |
element |
Element | underlying html element |
Methods
-
attr(attrs)
-
Sets attributes to receiver
Parameters:
Name Type Description attrs
Object attributes to be set - Source:
- /var/www/html/software/raphaelform/raphaelform.src.js, line 137
-
onmouseout(f)
-
What to do on mouseout event
Parameters:
Name Type Description f
function to execute - Source:
- /var/www/html/software/raphaelform/raphaelform.src.js, line 149
-
onmouseover(f)
-
What to do on mouseover event
Parameters:
Name Type Description f
function to execute - Source:
- /var/www/html/software/raphaelform/raphaelform.src.js, line 143