BitmapGetPixel Method (Point) |
Gets the color of the pixel at the specified position
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public Color GetPixel(
Point position
)
Public Function GetPixel (
position As Point
) As Color
member GetPixel :
position : Point -> Color
Parameters
- position
- Type: Eto.DrawingPoint
Position to get the color of the pixel.
Return Value
Type:
ColorThe color of the pixel.
Remarks
Note that this method can be extremely slow to go through each pixel of a bitmap.
If you need better performance, use
Lock to get access to the bitmap's pixel buffer directly,
then optionally use
GetPixel(Point) to get each pixel value.
See Also