Click or drag to resize
Ab4d.SharpEngine logo

RawImageData Constructor

Constructor

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public RawImageData(
	int width,
	int height,
	int stride,
	Format 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  Format
image format
data  Byte
byte array with image data
checkTransparency  Boolean
when true, then the data is checked if it has transparent pixels
See Also