uint32Int property

int get uint32Int

With color get RGB format pixel format.

Implementation

int get uint32Int {
  final int r = red & 0x000000ff;
  final int g = (green << 8) & 0x0000ff00;
  final int b = (blue << 16) & 0x00ff0000;
  final int a = (alpha << 24) & 0xff000000;
  return a + r + b + g;
}