Set pixels with the specified coordinates to the specified color.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public void SetPixels(
	List<IntPoint> coordinates,
	Color color
)

Parameters

coordinates
Type: System.Collections.Generic..::.List<(Of <(IntPoint>)>)
List of points to set color for.
color
Type: System.Drawing..::.Color
Color to set for the specified points.

Remarks

Note:For images having 16 bpp per color plane, the method extends the specified color value to 16 bit by multiplying it by 256.

See Also