Method SetPixel
SetPixel(double, double, Color)
Sets the color of the specified pixel in this Graphics.
public override void SetPixel(double x, double y, Color color)Parameters
- xdouble
- The x-coordinate of the pixel to set. 
- ydouble
- The y-coordinate of the pixel to set. 
- colorColor
- A Color structure that represents the color to assign to the specified pixel. 
Remarks
Not all drawing contexts support this operation.
SetPixel(PointD, Pen)
Sets the color of the specified pixel in this Graphics.
public override void SetPixel(PointD point, Pen pen)Parameters
- pointPointD
- The coordinates of the pixel to set. 
- penPen
- A Pen structure that represents the color to assign to the specified pixel. 
Remarks
Not all drawing contexts support this operation.
SetPixel(double, double, Pen)
Sets the color of the specified pixel in this Graphics.
public override void SetPixel(double x, double y, Pen pen)Parameters
- xdouble
- The x-coordinate of the pixel to set. 
- ydouble
- The y-coordinate of the pixel to set. 
- penPen
- A Pen structure that represents the color to assign to the specified pixel. 
Remarks
Not all drawing contexts support this operation.