C# Class SkiaSharp.SKImage

Inheritance: SKObject
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
Encode ( ) : SKData
Encode ( SKImageEncodeFormat format, int quality ) : SKData
FromBitmap ( SKBitmap bitmap ) : SKImage
FromData ( SKData data ) : SKImage
FromData ( SKData data, SKRectI subset ) : SKImage
FromPixels ( SKImageInfo info, IntPtr pixels, int rowBytes ) : SKImage

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SKImage ( IntPtr x, bool owns ) : System

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Encode() public method

public Encode ( ) : SKData
return SKData

Encode() public method

public Encode ( SKImageEncodeFormat format, int quality ) : SKData
format SKImageEncodeFormat
quality int
return SKData

FromBitmap() public static method

public static FromBitmap ( SKBitmap bitmap ) : SKImage
bitmap SKBitmap
return SKImage

FromData() public static method

public static FromData ( SKData data ) : SKImage
data SKData
return SKImage

FromData() public static method

public static FromData ( SKData data, SKRectI subset ) : SKImage
data SKData
subset SKRectI
return SKImage

FromPixels() public static method

public static FromPixels ( SKImageInfo info, IntPtr pixels, int rowBytes ) : SKImage
info SKImageInfo
pixels System.IntPtr
rowBytes int
return SKImage