Conic

Conic

{Object} Conic Conic gradient object type and properties

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:
  • Set angle property
Source:
Parameters:
Name Type Description
value Angle Angle object

angle() → {Angle}

Description:
  • Set angle property
Source:
Returns:
Angle object
Type
Angle

point(value)

Description:
  • Set point
Source:
Parameters:
Name Type Description
value Point Point

point() → {Point}

Description:
  • Get point
Source:
Returns:
Point
Type
Point

stops(values)

Description:
  • Set color stops
Source:
Parameters:
Name Type Description
values Array.<Stop> Color stops

stops() → {Array.<Stop>}

Description:
  • Get color stops
Source:
Returns:
Color stops
Type
Array.<Stop>