FSO.Files.Formats.IFF.Chunks.SPR2Frame.SetPixel C# (CSharp) Method

SetPixel() public method

Gets a pixel from this SPR2Frame.
public SetPixel ( int x, int y, Color color ) : void
x int X position of pixel.
y int Y position of pixel.
color Color
return void
        public void SetPixel(int x, int y, Color color)
        {
            PixelData[(y * Width) + x] = color;
        }