oneMinusSrc static method

double oneMinusSrc(
  1. double srcAlpha,
  2. double dstAlpha
)

Returns one minus the source alpha channel (1 - srcAlpha).

Implementation

static double oneMinusSrc(double srcAlpha, double dstAlpha) => 1 - srcAlpha;