Window

The Window class is a class for managing windows.
Window size control is only possible on Windows.
On Android it depends on the screen size.
Generate the Offscreen class in the size you want to render and do the normal drawing there.
Enlargement according to the window (screen) size is controlled by a script.
It is also possible to display the UI and characters neatly at the same size with a script.

Events that Android does not support will not occur on Android.

Member

Constructor
Window (Building a Window object)
Method
add (Add managed object)
bringToFront ([Windows *] Bring the window to the front)
close (close the window)
getMouseVelocity ([Windows *] Get mouse coordinate movement speed)
getTouchPoint (Get touch coordinates)
getTouchVelocity (Get touch coordinate movement speed)
hideMouseCursor ([Windows *] Temporarily hide the mouse cursor)
postInputEvent (Generate input event)
registerMessageReceiver ([Windows +] Register / delete message reception function)
remove (Delete managed object)
removeMaskRegion ([Windows +] Unlock window region)
resetMouseVelocity ([Windows *] Reset mouse coordinate movement speed measurement)
setInnerSize ([Windows *] Client size setting)
setMaskRegion (Set Windows + window region according to mask)
setMaxSize ([Windows *] Setting the maximum size of the window)
setMinSize ([Windows *] Setting the minimum size of the window)
setPos ([Windows *] Window position setting)
setSize ([Windows *] Window size setting)
setZoom ([Windows *] Layer magnification setting)
showModal ([Windows +] Modal window display)
startDrawing (Explicitly call drawing.)
update ([Windows *] Forced drawing of window contents)
Property
borderStyle ([Windows *] Window appearance)
canvas (Get an instance of the Canvas class for drawing)
caption (Window caption)
displayDensity (Screen density (dpi))
displayOrientation (Display orientation)
displayRotate (Display rotation angle)
drawCycle (Draw in a specified cycle)
drawDevice ([Windows +] Drawing device)
enableTouch (Touch event enabled / disabled)
focusable ([Windows *] Can I get focus?)
focusedLayer ([Windows +] Layer object with focus)
fullScreen ([Windows *] Whether it is full screen)
height (Window height)
hintDelay ([Windows *] Hint display wait time)
HWND ([Windows +] window handle)
imeMode ([Windows *] Default IME mode)
innerHeight (Vertical width of client area)
innerWidth (Width of client area)
left ([Windows *] Left edge position of the window)
mainWindow (Main window)
maxHeight ([Windows *] Maximum height of the window)
maxWidth ([Windows *] Maximum width of the window)
minHeight ([Windows *] Minimum height of the window)
minWidth ([Windows *] Minimum width of the window)
mouseCursorState ([Windows *] Mouse cursor display status)
primaryLayer ([Windows +] Primary layer object)
stayOnTop ([Windows *] Whether to always display at the top)
top ([Windows *] Top position of the window)
touchPointCount (Number of touches)
touchRotateThreshold (Multi-touch rotation threshold)
touchScaleThreshold (Multi-touch expansion threshold)
trapKey ([Windows *] Whether to trap keystrokes)
useMouseKey ([Windows *] Whether to use MouseKeys)
visible ([Windows *] Whether the window is displayed)
waitVSync (Waiting for vertical synchronization)
width (Window width)
zoomDenom ([Windows *] Layer magnification (denominator))
zoomNumer ([Windows *] Layer magnification (molecule))
Event
onActivate (When the window becomes active)
onClick ([Windows *] The window was clicked)
onCloseQuery ([Windows *] Confirmation to close the window)
onDeactivate (When the window becomes inactive)
onDisplayRotate (When the screen is rotated)
onDoubleClick ([Windows *] The window was double-clicked)
onDraw (Screen update callback event)
onFileDrop ([Windows *] file dropped)
onHintChanged ([Windows *] When the state of the hint changes)
onKeyDown (The key was pressed)
onKeyPress ([Windows *] characters have been entered)
onKeyUp (The key was released)
onMouseDown ([Windows *] Mouse button pressed)
onMouseEnter ([Windows *] Mouse came in)
onMouseLeave ([Windows *] The mouse came out)
onMouseMove ([Windows *] Mouse moved)
onMouseUp ([Windows *] Mouse button released)
onMouseWheel ([Windows *] Mouse wheel rotated)
onMultiTouch (Multi-touch state changed)
onPointerDown (Pressed by some pointing device)
onPointerMove (Some pointing device has been moved)
onPointerUp (Some pointing device has been released)
onPopupHide ([Windows *] Close the pop-up window)
onResize ([Windows *] The size of the window has changed)
onTouchDown (The screen was touched)
onTouchMove (The finger has moved)
onTouchRotate (Rotated)
onTouchScaling (Enlarged operation)
onTouchUp (Your finger was released from the screen)