PColorRGBA constructor

PColorRGBA(
  1. int r,
  2. int g,
  3. int b,
  4. double a,
)

Implementation

PColorRGBA(super.r, super.g, super.b, double a)
    : alpha = ((a.clamp(0, 1) * 10000).toInt() / 10000);