Method DrawImageCentered
DrawImageCentered<TColor, TDepth>(Image<TColor, TDepth>, Image<TColor, TDepth>, TColor)
Declaration
public static void DrawImageCentered<TColor, TDepth>(this Image<TColor, TDepth> canvas, Image<TColor, TDepth> imageToDraw, TColor backgroundColor = default) where TColor : struct, IColor where TDepth : struct
Parameters
| Type | Name | Description |
|---|---|---|
| Image<TColor, TDepth> | canvas | |
| Image<TColor, TDepth> | imageToDraw | |
| TColor | backgroundColor |
Type Parameters
| Name | Description |
|---|---|
| TColor | |
| TDepth |