interface IPixelSet extends HasBounds { public Rect bounds(); public bool contains(int x, int y); default bool contains(Pt p) { ret contains(x, y); } default public ItIt pixelIterator() { ret filterI(pixelIterator(bounds()), p -> contains(p)); } }