1.0.6 • Published 2 years ago

screenshot-electron-desktop v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

kscreenshot

安装

npm install screenshot-electron-desktop --save

功能

该截图是针对electron在桌面整屏的截图。

该截图在原功能基础上增加了touch事件,对触摸屏友好。

该截图工具带有下载,复制功能,并可用工具栏对截图进行简单绘制。
工具栏功能从左到右依次为:颜色,文字,椭圆,矩形,线条,箭头,后退,完成。

使用

import kscreenshot from 'screenshot-lixue'

//65指键盘中的A
new kscreenshot(
    {
        key: 65 
    }
)

当按下shift + A将会触发截图功能

参数

toolshow配置

方法