clampPixel function

int clampPixel (int x)

Implementation

int clampPixel(int x) => x.clamp(0, 255);