BitmapSetPixel Method (Point, Color) |
Sets the pixel color at the specified position.
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void SetPixel(
Point position,
Color color
)
Public Sub SetPixel (
position As Point,
color As Color
)
member SetPixel :
position : Point *
color : Color -> unit
Parameters
- position
- Type: Eto.DrawingPoint
Position to set the pixel color. - color
- Type: Eto.DrawingColor
Color to set.
Remarks
Note that this method can be extremely slow to set 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
SetPixel(Point, Color) to set each pixel value.
See Also