GradientSettings
These are the properties you can use to customize the gradient for the QR code data or background
Prop | Type | Description | Default | Required | Possible Values |
---|---|---|---|---|---|
type | string | The type of gradient | Yes | linear radial | |
stops | GradientSettingsStop[] | The gradient stops | Yes | ||
rotation | number | The gradient rotation | 0 | No | 0 - 360 |
GradientSettingsStop
Prop | Type | Description | Default | Required | Possible Values |
---|---|---|---|---|---|
offset | string | The gradient stop offset. It should be a percentage including the % sign e.g. 0%, 50%, 100% | Yes | ||
color | string | The gradient stop color | Yes |