screen对象 screen对象用于获取用户的屏幕信息。 语法: window.screen.属性 对象属性: 屏幕分辨率的高和宽 window.screen 对象包含有关用户屏幕的信息。1. screen.height 返回屏幕分辨率的高2. screen.width 返回屏幕分辨率的宽注意:1 ...
分类:
其他好文 时间:
2017-05-25 13:30:24
阅读次数:
100
Rectangle bounds = Screen.GetBounds(Screen.GetBounds(Point.Empty)); using (Bitmap bitmap = new Bitmap(bounds.Width, bounds.Height)) { ... ...
最近在接触mui的时候,遇到了一段代码: 1 (function($, doc) { 2 $.init({ 3 statusBarBackground: '#f7f7f7' 4 }); 5 $.plusReady(function() { 6 plus.screen.lockOrientation( ...
分类:
编程语言 时间:
2017-05-24 18:34:48
阅读次数:
863
推送视频和声音 ffmpeg -f dshow -i video="screen-capture-recorder" -f dshow -i audio="内装麦克风 (Conexant 20672 SmartAudi" -r 5 -vcodec libx264 -preset:v ultrafas ...
分类:
其他好文 时间:
2017-05-24 17:08:35
阅读次数:
202
2017年5月19日 8:16 1.复习: Screen clipping taken: 2017/5/19 18:26 3.switch-case练习 code: Screen clipping taken: 2017/5/19 18:40 Screen clipping taken: 2017/ ...
分类:
其他好文 时间:
2017-05-23 22:47:51
阅读次数:
282
2017年5月17日 18:01 1.变量:用来存储数据 2.int number; 3.number = 50; Screen clipping taken: 2017/5/17 18:30 4.double d; d = 3.14; 5.= 是把等号右边的值赋给等号左边的变量。 6.变量类型 变 ...
分类:
其他好文 时间:
2017-05-23 22:39:45
阅读次数:
227
ionic2/ionic3禁止屏幕旋转,及解除禁止旋转 1.添加插件: cmd到项目目录 > 详情看https://github.com/apache/cordova-plugin-screen-orientation 总结: 这几个方法组合使用可以做:游戏界面旋转,视频的旋转与锁定 ...
分类:
其他好文 时间:
2017-05-23 16:59:16
阅读次数:
1206
<html><head><script>// toggle full screen function toggleFullScreen() { if (!document.fullscreenElement && // alternative standard method !document.mo ...
分类:
Web程序 时间:
2017-05-23 15:53:37
阅读次数:
408
PC端变成手机端的时候,把特效去掉(把canvas标签去掉)<script> if (screen.width < 768){ $('canvas').remove(); }</script> /*if($('window').width()<768){ $('canvas').css('displ ...
分类:
移动开发 时间:
2017-05-23 11:15:11
阅读次数:
179
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title></head><style type="text/css" media="screen"> .box{height: 320px;w ...
分类:
移动开发 时间:
2017-05-23 11:14:07
阅读次数:
264