C# Class SkiaSharp.SKDrawable

Inheritance: SkiaSharp.SKObject, ISKReferenceCounted
Mostra file Open project: unoplatform/Uno.SkiaSharp Class Usage Examples

Public Methods

Method Description
Draw ( SKCanvas canvas, SKMatrix &matrix ) : void
Draw ( SKCanvas canvas, float x, float y ) : void
NotifyDrawingChanged ( ) : void
Snapshot ( ) : SKPicture

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnDraw ( SKCanvas canvas ) : void
OnGetBounds ( ) : SKRect
OnSnapshot ( ) : SKPicture
SKDrawable ( bool owns ) : System

Private Methods

Method Description
AsManagedDrawable ( IntPtr ptr ) : SKDrawable
AsManagedDrawable ( IntPtr ptr, SKDrawable &target ) : bool
DisposeFromNative ( ) : void
DrawInternal ( IntPtr managedDrawablePtr, IntPtr canvas ) : void
GetBoundsInternal ( IntPtr managedDrawablePtr, SKRect &rect ) : void
NewPictureSnapshotInternal ( IntPtr managedDrawablePtr ) : IntPtr
SKDrawable ( ) : System
SKDrawable ( IntPtr x, bool owns ) : System

Method Details

Dispose() protected method

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

Draw() public method

public Draw ( SKCanvas canvas, SKMatrix &matrix ) : void
canvas SKCanvas
matrix SKMatrix
return void

Draw() public method

public Draw ( SKCanvas canvas, float x, float y ) : void
canvas SKCanvas
x float
y float
return void

NotifyDrawingChanged() public method

public NotifyDrawingChanged ( ) : void
return void

OnDraw() protected method

protected OnDraw ( SKCanvas canvas ) : void
canvas SKCanvas
return void

OnGetBounds() protected method

protected OnGetBounds ( ) : SKRect
return SKRect

OnSnapshot() protected method

protected OnSnapshot ( ) : SKPicture
return SKPicture

SKDrawable() protected method

protected SKDrawable ( bool owns ) : System
owns bool
return System

Snapshot() public method

public Snapshot ( ) : SKPicture
return SKPicture