new CheckBox(params)
Check box [Raphael.rect]
This:
Parameters:
Name | Type | Argument | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
<optional> |
Properties
|
- Source:
- /var/www/html/software/raphaeltools/raphaeltools.src.js, line 1451
Properties:
Name | Type | Description |
---|---|---|
x |
number | x coordinate of top left corner |
y |
number | y coordinate of top left corner |
dim |
number | size of rectangle |
path |
Raphael.path | check path |
isChecked |
boolean | if box is checked |
Extends
- Raphael.fn
Methods
-
check(b)
-
Check (or uncheck) receiver
Parameters:
Name Type Argument Description b
boolean <optional>
=true] bool value to be set - Source:
- /var/www/html/software/raphaeltools/raphaeltools.src.js, line 1492
-
onChange()
-
What to do when the box state is changed. Initially empty function
- Source:
- /var/www/html/software/raphaeltools/raphaeltools.src.js, line 1487
-
uncheck()
-
Uncheck receiver
- Source:
- /var/www/html/software/raphaeltools/raphaeltools.src.js, line 1505