PColorRGB.fromRGB constructor

PColorRGB.fromRGB(
  1. int p
)

Implementation

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