Class SkiaViewAccelerated
public class SkiaViewAccelerated : SKGLView, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ISKGLView, IView, IElement, ITransform, ISkiaDrawable, ISkiaSharpView, IDisposable
- Inheritance
-
SkiaViewAccelerated
- Implements
- Inherited Members
- Extension Methods
Constructors
SkiaViewAccelerated(DrawnView)
public SkiaViewAccelerated(DrawnView superview)
Parameters
superviewDrawnView
Properties
FPS
public double FPS { get; }
Property Value
FrameTime
public long FrameTime { get; protected set; }
Property Value
HasDrawn
public bool HasDrawn { get; protected set; }
Property Value
IsDrawing
public bool IsDrawing { get; set; }
Property Value
IsHardwareAccelerated
public bool IsHardwareAccelerated { get; }
Property Value
OnDraw
Return true if need force invalidation on next frame
public Func<SKSurface, SKRect, bool> OnDraw { get; set; }
Property Value
Superview
public DrawnView Superview { get; protected set; }
Property Value
Surface
public SKSurface Surface { get; }
Property Value
Uid
public Guid Uid { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
OnHandlerChanged()
When overridden in a derived class, should raise the HandlerChanged event.
protected override void OnHandlerChanged()
Remarks
It is the implementor's responsibility to raise the HandlerChanged event.
OnHandlerChanging(HandlerChangingEventArgs)
When overridden in a derived class, should raise the HandlerChanging event.
protected override void OnHandlerChanging(HandlerChangingEventArgs args)
Parameters
argsHandlerChangingEventArgsProvides data for the HandlerChanging event.
Remarks
It is the implementor's responsibility to raise the HandlerChanging event.
SignalFrame(long)
public void SignalFrame(long nanoseconds)
Parameters
nanosecondslong
Update(long)
Safe InvalidateSurface() call. If nanos not specified will generate ittself
public bool Update(long nanos)
Parameters
nanoslong