Image Constructor (Color[,])

SFML.Net

Image Constructor (Color)
Construct the image directly from an array of pixels

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Image(
	Color[,] pixels
)
Public Sub New ( 
	pixels As Color(,)
)
public:
Image(
	array<Color,2>^ pixels
)
new : 
        pixels : Color[,] -> Image

Parameters

pixels
Type: SFML.GraphicsColor
2 dimensions array containing the pixels
Exceptions
ExceptionCondition
LoadingFailedException
See Also