This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
component:screen:zh [2023/12/27 03:38] hfsr [组件:屏幕] |
component:screen:zh [2023/12/27 03:38] (current) hfsr [组件:屏幕] |
||
---|---|---|---|
Line 24: | Line 24: | ||
- `setPrecise(enabled:boolean):boolean` | - `setPrecise(enabled:boolean):boolean` | ||
设定是否要启用高精度模式(将鼠标事件位置精确到子像素)。 | 设定是否要启用高精度模式(将鼠标事件位置精确到子像素)。 | ||
- | **需要3级屏幕(3级)。** | + | **需要3级屏幕。** |
\\ | \\ | ||
- `isPrecise():boolean` | - `isPrecise():boolean` | ||
检测是否启用了高精度模式(将鼠标事件位置精确到子像素)。 | 检测是否启用了高精度模式(将鼠标事件位置精确到子像素)。 | ||
- | **需要3级屏幕(3级)。** | + | **需要3级屏幕。** |
\\ | \\ | ||
- `setTouchModeInverted(enabled:boolean):boolean` | - `setTouchModeInverted(enabled:boolean):boolean` |