'宣言 Public Shared Function New(Of T As {New, Struct})( _ ByVal renderTarget As RenderTarget, _ ByVal size As Size2L, _ ByVal pixelDatas() As T, _ ByVal bitmapProperties As BitmapProperties _ ) As Bitmap
public static Bitmap New<T>( RenderTarget renderTarget, Size2L size, T[] pixelDatas, BitmapProperties bitmapProperties ) where T: new(), struct
パラメータ
- renderTarget
- an instance of RenderTarget
- size
- The dimension of the bitmap to create in pixels.
- pixelDatas
- A pointer to an array of pixel data. The size of the array must be equal to sizeof(pixel) * Size.Width * Height.
- bitmapProperties
- The pixel format and dots per inch (DPI) of the bitmap to create.
型パラメータ
- T