Click or drag to resize
Accord.NET (logo)

UnmanagedImageSetPixels Method

Set pixels with the specified coordinates to the specified color.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.6.0
Syntax
public void SetPixels(
	List<IntPoint> coordinates,
	Color color
)
Request Example View Source

Parameters

coordinates
Type: System.Collections.GenericListIntPoint
List of points to set color for.
color
Type: System.DrawingColor
Color to set for the specified points.
Remarks

Note 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