Method CreateGenericImageHandler
CreateGenericImageHandler()
Creates IGenericImageHandler provider.
IGenericImageHandler CreateGenericImageHandler()
Returns
CreateGenericImageHandler(int, int, bool)
Creates IGenericImageHandler provider using the specified parameters.
IGenericImageHandler CreateGenericImageHandler(int width, int height, bool clear = false)
Parameters
Returns
CreateGenericImageHandler(SizeI, bool)
Creates IGenericImageHandler provider using the specified parameters.
IGenericImageHandler CreateGenericImageHandler(SizeI size, bool clear = false)
Parameters
Returns
CreateGenericImageHandler(Stream, BitmapType, int)
Creates IGenericImageHandler provider using the specified parameters.
IGenericImageHandler CreateGenericImageHandler(Stream stream, BitmapType bitmapType = BitmapType.Any, int index = -1)
Parameters
stream
StreamStream with image data.
bitmapType
BitmapTypeType of the image.
index
intImage index.
Returns
CreateGenericImageHandler(Stream, string, int)
Creates IGenericImageHandler provider using the specified parameters.
IGenericImageHandler CreateGenericImageHandler(Stream stream, string mimeType, int index = -1)
Parameters
stream
StreamStream with image data.
mimeType
stringMime-type of the image.
index
intImage index.
Returns
CreateGenericImageHandler(int, int, RGBValue[])
Creates IGenericImageHandler provider using the specified parameters.
IGenericImageHandler CreateGenericImageHandler(int width, int height, RGBValue[] data)
Parameters
Returns
CreateGenericImageHandler(int, int, SKColor[])
Creates IGenericImageHandler provider using the specified parameters.
IGenericImageHandler CreateGenericImageHandler(int width, int height, SKColor[] data)
Parameters
Returns
CreateGenericImageHandler(int, int, RGBValue[], byte[])
Creates IGenericImageHandler provider using the specified parameters.
IGenericImageHandler CreateGenericImageHandler(int width, int height, RGBValue[] data, byte[] alpha)
Parameters
width
intImage width.
height
intImage height.
data
RGBValue[]Array with image pixels.
alpha
byte[]Array with alpha component of the pixels.