Method SetPixel
SetPixel(PointD, Pen)
Sets the color of the specified pixel in this Graphics.
public override void SetPixel(PointD point, Pen pen)
Parameters
pointPointDThe coordinates of the pixel to set.
penPenA 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
xdoubleThe x-coordinate of the pixel to set.
ydoubleThe y-coordinate of the pixel to set.
penPenA Pen structure that represents the color to assign to the specified pixel.
Remarks
Not all drawing contexts support this operation.
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
xdoubleThe x-coordinate of the pixel to set.
ydoubleThe y-coordinate of the pixel to set.
colorColorA Color structure that represents the color to assign to the specified pixel.
Remarks
Not all drawing contexts support this operation.