Table of Contents

Method SetPixel

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

SetPixel(float, float, Color)

Sets pixel at the specified coordinates to the specified color.

public void SetPixel(float x, float y, Color color)

Parameters

x float

The X coordinate of the point.

y float

The Y coordinate of the point.

color Color

The color used to set the pixel.

SetPixel(PointD, Pen)

Sets pixel at the specified coordinates to the color of the specified pen.

public void SetPixel(PointD point, Pen pen)

Parameters

point PointD

The coordinates of the point.

pen Pen

The pen which color is used to set the pixel.

SetPixel(float, float, Pen)

Sets pixel at the specified coordinates to the specified color.

public void SetPixel(float x, float y, Pen pen)

Parameters

x float

The X coordinate of the point.

y float

The Y coordinate of the point.

pen Pen

The pen which color is used to set the pixel.