@OPEN-KAPPA/COLORS
    Preparing search index...

    Type Alias AlphaMixerFn

    AlphaMixerFn: (
        sourceAlpha: number,
        targetAlpha: number,
        weight: number,
    ) => AlphaResults

    General type for an alpha mixing function.

    Type Declaration

      • (sourceAlpha: number, targetAlpha: number, weight: number): AlphaResults
      • Parameters

        • sourceAlpha: number

          The alpha of the original color.

        • targetAlpha: number

          The alpha of the blending color.

        • weight: number

          The mixing weight.

        Returns AlphaResults

        THe result.