Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
component:screen:zh [2023/11/05 10:22]
hfsr [Component: Screen]
component:screen:zh [2023/12/27 03:38] (current)
hfsr [组件:屏幕]
Line 1: Line 1:
 组件:屏幕 组件:屏幕
 ================ ================
-此组件由[[block:​screen:​zh|屏幕方块]](无论是放置于世界中还是安装机器人上)提供。+此组件由[[block:​screen:​zh|屏幕方块]](无论是放置于世界中还是安装机器人上)提供。
  
 组件名:`screen`。 组件名:`screen`。
Line 22: Line 22:
   获取连接到此屏幕的键盘列表。  ​   获取连接到此屏幕的键盘列表。  ​
   \\   \\
-- `setPrecise(enabled:​boolean):​boolean`  +- `setPrecise(enabled:​boolean):​boolean` ​  
-  设定是否要启用高精度模式(将鼠标事件位置精确到子像素)。 +  设定是否要启用高精度模式(将鼠标事件位置精确到子像素)。  ​ 
-  ​**需要屏幕(3级)。**   +**需要3级屏幕。** ​  
-  ​//+  ​\\
 - `isPrecise():​boolean`  ​ - `isPrecise():​boolean`  ​
-  检测是否启用了高精度模式(将鼠标事件位置精确到子像素)。 +  检测是否启用了高精度模式(将鼠标事件位置精确到子像素)。  ​ 
-  ​**需要屏幕(3级。**   +**需要3级屏幕。**   
-  ​//+  ​\\
 - `setTouchModeInverted(enabled:​boolean):​boolean`  ​ - `setTouchModeInverted(enabled:​boolean):​boolean`  ​
-  设置是否要启用触摸反转模式(若设置为`true`则潜行右键单击才能打开屏幕的GUI)。  ​+  设置是否要启用触摸反转模式(若设置为`true`则潜行右键单击才能打开屏幕的GUI,默认为潜行右键单击触摸,直接右键单击开启GUI)。  ​
   \\   \\
 - `isTouchModeInverted():​boolean`  ​ - `isTouchModeInverted():​boolean`  ​
-  检查是否启用了触摸反转模式(若设置为`true`则潜行右键单击才能打开屏幕的GUI)+  检查是否启用了触摸反转模式。
  
 目录 目录