Exemplo n.º 1
0
            public SKSwapChainPanelJsInterop(SKSwapChainPanel panel)
            {
                Panel = panel ?? throw new ArgumentNullException(nameof(panel));

                jsHandle = Interlocked.Increment(ref handleCounter);
                Handle   = JSObjectHandle.Create(this, this);
            }
Exemplo n.º 2
0
 public SkiaSharpFunctionsJsInterop()
 {
     jsHandle = Interlocked.Increment(ref handleCounter);
     Handle   = JSObjectHandle.Create(this, this);
 }
Exemplo n.º 3
0
 protected RenderingLoopAnimator(T from, T to)
     : base(from, to)
 {
     Handle = JSObjectHandle.Create(this, Metadata.Instance);
 }
 public RenderingLoopFloatAnimator(float from, float to)
     : base(from, to)
 {
     Handle = JSObjectHandle.Create(this, Metadata.Instance);
 }