Constructor
new Conic()
- Description:
- Create a Conic gradient object type
- Source:
Properties:
Name |
Type |
Description |
point |
Point
|
X & Y axis coordinates |
angle |
number
|
Angle in radians |
stops |
Array.<Stop>
|
Array of color stops |
Methods
angle(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
Angle
|
Angle object |
angle() → {Angle}
- Description:
- Source:
Returns:
Angle object
-
Type
-
Angle
point(value)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
value |
Point
|
Point |
point() → {Point}
- Description:
- Source:
Returns:
Point
-
Type
-
Point
stops(values)
- Description:
- Source:
Parameters:
Name |
Type |
Description |
values |
Array.<Stop>
|
Color stops |
stops() → {Array.<Stop>}
- Description:
- Source:
Returns:
Color stops
-
Type
-
Array.<Stop>