C# Class SkiaSharp.SKDrawable

Inheritance: SkiaSharp.SKObject, ISKReferenceCounted
Afficher le fichier Open project: unoplatform/Uno.SkiaSharp Class Usage Examples

Méthodes publiques

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

Méthodes protégées

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

Private Methods

Méthode 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 méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Draw() public méthode

public Draw ( SKCanvas canvas, SKMatrix &matrix ) : void
canvas SKCanvas
matrix SKMatrix
Résultat void

Draw() public méthode

public Draw ( SKCanvas canvas, float x, float y ) : void
canvas SKCanvas
x float
y float
Résultat void

NotifyDrawingChanged() public méthode

public NotifyDrawingChanged ( ) : void
Résultat void

OnDraw() protected méthode

protected OnDraw ( SKCanvas canvas ) : void
canvas SKCanvas
Résultat void

OnGetBounds() protected méthode

protected OnGetBounds ( ) : SKRect
Résultat SKRect

OnSnapshot() protected méthode

protected OnSnapshot ( ) : SKPicture
Résultat SKPicture

SKDrawable() protected méthode

protected SKDrawable ( bool owns ) : System
owns bool
Résultat System

Snapshot() public méthode

public Snapshot ( ) : SKPicture
Résultat SKPicture