Table of Contents

Class SkiaEffect

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class SkiaEffect : BindableObject, INotifyPropertyChanged, IDisposable, ICanBeUpdatedWithContext, ICanBeUpdated
Inheritance
SkiaEffect
Implements
Derived
Inherited Members
Extension Methods

Properties

NeedApply

public virtual bool NeedApply { get; }

Property Value

bool

Parent

For public set use Attach/Detach

public SkiaControl Parent { get; protected set; }

Property Value

SkiaControl

Methods

Attach(SkiaControl)

public virtual void Attach(SkiaControl parent)

Parameters

parent SkiaControl

Dettach()

public virtual void Dettach()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

NeedUpdate(BindableObject, object, object)

protected static void NeedUpdate(BindableObject bindable, object oldvalue, object newvalue)

Parameters

bindable BindableObject
oldvalue object
newvalue object

OnDisposing()

protected virtual void OnDisposing()

Update()

You MUST clear any cached resources as soon as this is called. Not on next draw!

public virtual void Update()