internal Color(ColorMap <T> map, int y) { Map = map.Rgb; Offset = y * map.Width * 3; _limit = Offset + map.Width * 3; }
public Pixel(ColorMap <T> map) : this(map, 0, 0) { }
internal Color(ColorMap <T> map, int x, int y) { Map = map.Rgb; Offset = (y * map.Width + x) * 3; _limit = map.Height * map.Width * 3; }