PColorRGBA.fromRGBA constructor

PColorRGBA.fromRGBA(
  1. int p
)

Implementation

PColorRGBA.fromRGBA(int p)
    : this(
        (p >> 24) & 0xff,
        (p >> 16) & 0xff,
        (p >> 8) & 0xff,
        ((p) & 0xff) / 255,
      );