SurfaceTarget
Where a surface presents: a native window, by the platform code and raw handles hxn-window's Window.platform() and Window.raw(0..3) return, or the web page's canvas.
Constructors
Window(platform:Int, handles:Array<Int64>)platformis 1 AppKit, 2 Win32, 3 Xlib, 4 Wayland, 5 Android or 6 UIKit.handlesareraw(0)toraw(3): the window first, and on Xlib its visual id and then theDisplay*.CanvasThe web page's canvas, the element with the id
canvas.