예제 #1
0
            public SKSwapChainPanelJsInterop(SKSwapChainPanel panel)
            {
                Panel = panel ?? throw new ArgumentNullException(nameof(panel));

                jsHandle = Interlocked.Increment(ref handleCounter);
                Handle   = JSObjectHandle.Create(this, this);
            }
예제 #2
0
 public SkiaSharpFunctionsJsInterop()
 {
     jsHandle = Interlocked.Increment(ref handleCounter);
     Handle   = JSObjectHandle.Create(this, this);
 }
예제 #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);
 }