Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This method is available only when developing for Windows.
Gets the pixel value at the specified location in the bitmap.
Syntax
'Declaration
Public Function GetPixel ( _
x As Integer, _
y As Integer _
) As T
public T GetPixel (
int x,
int y
)
public:
T GetPixel(
int x,
int y
)
Parameters
Return Value
Type: T
Value of the pixel.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
PixelBitmapContent Generic Class
PixelBitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP