CanvasBitmap.SetPixelColors Method (Color[]) |
Sets the color data of the bitmap from the specified array.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntaxpublic void SetPixelColors(
Color[] valueElements
)
Parameters
- valueElements
- Type:Windows.UI.Color[]
Remarks-
The Format
must be DirectXPixelFormat.B8G8R8A8UintNormalized.
-
The size of the array must be at least SizeInPixels.Width *
SizeInPixels.Height.
See Also