Eyeshot 9.0 WinForms API Reference
GetPixel Method (OglRenderContext)

WinForms Assembly > devDept.Graphics Namespace > OglRenderContext Class : GetPixel Method
The x window coordinate of the pixel to retrieve
The y window coordinate of the pixel to retrieve (0 on bottom)
Gets the color of the specified pixel in this viewport
Syntax
'Declaration
 
Public Overrides Function GetPixel( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As Color
public override Color GetPixel( 
   int x,
   int y
)

Parameters

x
The x window coordinate of the pixel to retrieve
y
The y window coordinate of the pixel to retrieve (0 on bottom)

Return Value

The color of the pixel
See Also

Reference

OglRenderContext Class
OglRenderContext Members