screen(螢幕)
取得螢幕大小、顯示器、光標位置等的資訊。
Last updated
取得螢幕大小、顯示器、光標位置等的資訊。
Last updated
當前滑鼠的絕對位置 x, y。
返回 Promise<point: Object>
point
Object
point.x
point.y
返回主螢幕資訊
返回 Promise<display: Display>
display
對象 - 當前螢幕資訊
返回一個數組Display[],表示當前可用的螢幕。
返回 Promise<displays: Display[]>
取得插件視窗座標 x 和 y。
point
Object
point.x
Interger 類型
point.y
Interger 類型
返回 Promise<display: Display>
displays
[]
display
對象 - 當前螢幕資訊