Class SkiaLabelFps
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
Properties
ForceRefresh
public bool ForceRefresh { get; set; }
Property Value
IsDeactivated
Can and will be removed
public bool IsDeactivated { get; set; }
Property Value
IsHiddenInViewTree
For internal use by the engine
public bool IsHiddenInViewTree { get; set; }
Property Value
IsPaused
Just should not execute on tick
public bool IsPaused { get; set; }
Property Value
IsRunning
public bool IsRunning { get; set; }
Property Value
WasStarted
public bool WasStarted { get; }
Property Value
Methods
Draw(DrawingContext)
protected override void Draw(DrawingContext context)
Parameters
contextDrawingContext
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
newvalueIDrawnBaseoldvalueIDrawnBase
OnPropertyChanged(string)
Method that is called when a bound property is changed.
protected override void OnPropertyChanged(string propertyName = "")
Parameters
propertyNamestringThe 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
delayMsdouble
Stop()
public void Stop()
TickFrame(long)
public bool TickFrame(long frameTimeNanos)
Parameters
frameTimeNanoslong
Returns
- bool
Is Finished