new MaterialColor(r, g, b)
MaterialColor
This:
Parameters:
Name |
Type |
Argument |
Description |
r |
number
|
<optional>
|
hex r |
g |
number
|
<optional>
|
hex g |
b |
number
|
<optional>
|
hex b |
Properties:
Name |
Type |
Description |
r |
number
|
hex r |
g |
number
|
hex g |
b |
number
|
hex b |
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 2792
Methods
-
-
Returns new MaterialColor according to given string
Parameters:
Name |
Type |
Description |
c |
string
|
color |
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 2814
Returns:
new MaterialColor object
-
Type
-
Raphael3d.MaterialColor
-
-
Sets attributes of receiver from string
Parameters:
Name |
Type |
Description |
c |
string
|
color |
- Source:
-
/var/www/html/software/raphael3d/raphael3d.src.js, line 2802
Returns:
receiver
-
Type
-
Raphael3d.MaterialColor