GradientOptions: {
    color?: string;
    direction?: GradientDirection;
    opacity: number | string;
    start?: number | string;
    stop?: number | string;
}

The gradient options

Type declaration

  • Optionalcolor?: string

    Hex encoded value of the gradient color

  • Optionaldirection?: GradientDirection

    The gradient direction

  • opacity: number | string

    The opacity

  • Optionalstart?: number | string

    Relative position of the gradient start between 0.0 and 1.0

  • Optionalstop?: number | string

    Relative position of the gradient stop between 0.0 and 1.0