Пример #1
0
 public virtual Pixel GetPixel(int x, int y) => Pixel.Create(this, x, y, GetAreaUnchecked(x, y, 1, 1));
Пример #2
0
        public override void SetPixel(Pixel pixel)
        {
            Throw.IfNull(nameof(pixel), pixel);

            SetPixelPrivate(pixel.X, pixel.Y, pixel.Value);
        }
Пример #3
0
 public virtual IPixel <QuantumType> GetPixel(int x, int y)
 => Pixel.Create(this, x, y, GetAreaUnchecked(x, y, 1, 1) !);