Documentation
    Preparing search index...

    Function blend

    • Returns a new color that is a blend between a source and a destination color linerally. The alpha component in these colors is ignored. Instead, the provided alpha value is used to blend between the two colors.

      Parameters

      • src: number

        The source color.

      • dst: number

        The destination color.

      • alpha: number

        The alpha value to use for blending.

      Returns number

      The blended color.