Skip to main content

Gradient Type

Parameter: gradient-type

Default: vertical

The gradient-type parameter specifies the type/direction of the gradient. Possible values are

  • vertical
  • horizontal
  • diagonal
  • inverse_diagonal
  • radial

Example

GET

/api/qr?data=sample-data&gradient=20,100,80,250,180,10&gradient-type=radial

GET

/api/qr?data=sample-data&gradient-type=diagonal

Response(s)

Gradient Type Example Gradient Type Example