isOpaque static method

bool isOpaque(
  1. int argb
)

Returns whether a color in ARGB format is opaque.

Implementation

static bool isOpaque(int argb) {
  return alphaFromArgb(argb) >= 255;
}