Share via


PixelBitmapContent.SetPixel Method

Sets the pixel value at the specified location in the bitmap.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public void SetPixel (
         int x,
         int y,
         T value
)

Parameters

  • x
    The x component of a bitmap pixel.
  • y
    The y component of a bitmap pixel.
  • value
    New pixel value.

See Also

Reference

PixelBitmapContent Generic Class
PixelBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista