Table of Contents

Class SkiaLabelFps

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class SkiaLabelFps : SkiaLabel, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IElementController, IView, ITransform, IElement, IVisualTreeElement, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, IHasAfterEffects, ISkiaControl, IDrawnBase, ICanBeUpdatedWithContext, ICanBeUpdated, ISkiaDisposable, ISkiaGestureListener, IText, ITextStyle, ISkiaAnimator, IDisposable
Inheritance
SkiaLabelFps
Implements
Inherited Members
Extension Methods

Constructors

SkiaLabelFps()

public SkiaLabelFps()

Fields

ForceRefreshProperty

public static readonly BindableProperty ForceRefreshProperty

Field Value

BindableProperty

Properties

ForceRefresh

public bool ForceRefresh { get; set; }

Property Value

bool

IsDeactivated

Can and will be removed

public bool IsDeactivated { get; set; }

Property Value

bool

IsHiddenInViewTree

For internal use by the engine

public bool IsHiddenInViewTree { get; set; }

Property Value

bool

IsPaused

Just should not execute on tick

public bool IsPaused { get; set; }

Property Value

bool

IsRunning

public bool IsRunning { get; set; }

Property Value

bool

WasStarted

public bool WasStarted { get; }

Property Value

bool

Methods

Draw(DrawingContext)

protected override void Draw(DrawingContext context)

Parameters

context DrawingContext

OnBindingContextChanged()

First Maui will apply bindings to your controls, then it would call OnBindingContextChanged, so beware on not to break bindings.

protected override void OnBindingContextChanged()

OnParentChanged(IDrawnBase, IDrawnBase)

public override void OnParentChanged(IDrawnBase newvalue, IDrawnBase oldvalue)

Parameters

newvalue IDrawnBase
oldvalue IDrawnBase

OnPropertyChanged(string)

Method that is called when a bound property is changed.

protected override void OnPropertyChanged(string propertyName = "")

Parameters

propertyName string

The name of the bound property that changed.

OnWillDisposeWithChildren()

The OnDisposing might come with a delay to avoid disposing resources at use. This method will be called without delay when Dispose() is invoked. Disposed will set to True and for Views their OnWillDisposeWithChildren will be called.

public override void OnWillDisposeWithChildren()

Pause()

Used by ui, please use play stop for manual control

public virtual void Pause()

Resume()

Used by ui, please use play stop for manual control

public virtual void Resume()

Start(double)

public void Start(double delayMs = 0)

Parameters

delayMs double

Stop()

public void Stop()

TickFrame(long)

public bool TickFrame(long frameTimeNanos)

Parameters

frameTimeNanos long

Returns

bool

Is Finished