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

The gradient options

Type declaration

  • Optional color?: string

    Hex encoded value of the gradient color

  • Optional direction?: GradientDirection

    The gradient direction

  • opacity: number | string

    The opacity

  • Optional start?: number | string

    Relative position of the gradient start between 0.0 and 1.0

  • Optional stop?: number | string

    Relative position of the gradient stop between 0.0 and 1.0

Generated using TypeDoc