Click or drag to resize
Ab4d.SharpEngine logo

RawImageData(Int32, Int32, Int32, StandardBitmapFormats, Byte, Boolean) Constructor

Constructor

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public RawImageData(
	int width,
	int height,
	int stride,
	StandardBitmapFormats format,
	byte[] data,
	bool checkTransparency
)

Parameters

width  Int32
image width in pixels
height  Int32
image height in pixels
stride  Int32
image stride in bytes (length of one data row)
format  StandardBitmapFormats
StandardBitmapFormats (Bgra or Rgba)
data  Byte
byte array with image data
checkTransparency  Boolean
when true, then the data is checked if it has transparent pixels
See Also