'Declaration Public Shared Function New(Of T As {New, Struct})( _ ByVal factory As ImagingFactory, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal pixelFormat As Guid, _ ByVal pixelDatas() As T, _ Optional ByVal stride As Integer _ ) As Bitmap
public static Bitmap New<T>( ImagingFactory factory, int width, int height, Guid pixelFormat, T[] pixelDatas, int stride ) where T: new(), struct
Parameters
- factory
- The factory.
- width
- The width.
- height
- The height.
- pixelFormat
- The pixel format.
- pixelDatas
- The pixel datas.
- stride
- Stride of a row of pixels (number of bytes per row). By default the stride is == 0, and calculated by taking the sizeof(T) * width.
Type Parameters
- T