C# Class SkiaSharp.SKDocument

Inheritance: SKObject
ファイルを表示 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
Abort ( ) : void
BeginPage ( float width, float height ) : SKCanvas
BeginPage ( float width, float height, SKRect content ) : SKCanvas
Close ( ) : void
CreatePdf ( SKWStream stream, float dpi = DefaultRasterDpi ) : SKDocument
CreatePdf ( string path, float dpi = DefaultRasterDpi ) : SKDocument
EndPage ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
SKDocument ( IntPtr handle, bool owns ) : System

Method Details

Abort() public method

public Abort ( ) : void
return void

BeginPage() public method

public BeginPage ( float width, float height ) : SKCanvas
width float
height float
return SKCanvas

BeginPage() public method

public BeginPage ( float width, float height, SKRect content ) : SKCanvas
width float
height float
content SKRect
return SKCanvas

Close() public method

public Close ( ) : void
return void

CreatePdf() public static method

public static CreatePdf ( SKWStream stream, float dpi = DefaultRasterDpi ) : SKDocument
stream SKWStream
dpi float
return SKDocument

CreatePdf() public static method

public static CreatePdf ( string path, float dpi = DefaultRasterDpi ) : SKDocument
path string
dpi float
return SKDocument

Dispose() protected method

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

EndPage() public method

public EndPage ( ) : void
return void