Window.onDisplayRotate

機能/意味
When the screen is rotated (1.1.0 or later)
タイプ
Windowクラスのイベント
構文
onDisplayRotate(orientation, angle, bpp, width, height)
引数
orientation  The screen orientation.
 One of the following values:
 oriUnknown (acquisition failure / unknown), oriPortrait (portrait), oriLandscape (landscape)
angle  Angle.
 The angle (angle) is 0, 90, 180, 270, or -1. If it cannot be obtained, it becomes -1.
 The angle is the rotation angle from the device default, so it will be 0 vertically in portrait devices.
 On a normal device, there are many 0s in landscape.
 The vertical orientation is 0 for recent 8-inch tablets, etc., and the vertical orientation is the standard orientation.
bpp   bits per pixel.
width  Screen width.
height  The height of the screen.
説明
 Represents the event function called when the screen is rotated.
参照
Window.displayOrientation
Window.displayRotate