PColorRGB.fromRGBA constructor

PColorRGB.fromRGBA(
  1. int p
)

Implementation

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