PixelBitmapContent.GetPixel Method
Gets 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 T GetPixel (
int x,
int y
)
Parameters
- x
The x component of a bitmap pixel. - y
The y component of a bitmap pixel.
Return Value
Value of the pixel.
See Also
Reference
PixelBitmapContent Generic Class
PixelBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows XP SP2, Windows Vista