When lighting is enabled in OpenGL, the normal vectors are used to determine how much light is received at the specified vertex or surface. This lighting processing is performed at eye coordinate spac...
分类:
其他好文 时间:
2016-05-13 00:51:07
阅读次数:
296
// 倾斜度45,上下左右居中
int w=getMeasuredWidth();
canvas.rotate(-45,w,w);
// 绘制这个三角形,你可以绘制任意多边形
Paint p1 = new Paint();
p1.setColor(Color.RED);// 设置红色
p1.setStyle(Paint....
分类:
移动开发 时间:
2016-05-12 20:09:09
阅读次数:
2018
1、定义一个ImageView
定义一个ImageView是为了装载图片,其中的图片将被rotate用来进行旋转,其他View亦可。
资源文件为
Java代码
"1.0" encoding="utf-8"?> xmlns:android="http://schemas.android.com/apk/res/android" andr...
分类:
其他好文 时间:
2016-05-12 17:07:30
阅读次数:
190
横坐标为斜着的代码axisLabel:
{rotate: 60 , interval: 0 }
1.报表的用法:
柱形图:lineEcharts
Chart:
echartsData:
JSP:
script src="${ctxStatic}/echarts/dist/echarts.js">script>
script type="text...
分类:
其他好文 时间:
2016-05-12 14:05:51
阅读次数:
530
sqoop:000> create link --cid 4 Creating link for connector with id 4Exception has occurred during processing command Exception: org.apache.sqoop.commo ...
分类:
其他好文 时间:
2016-05-11 15:04:42
阅读次数:
671
<!DOCTYPE HTML> <head> <meta charset = "utf-8"> <title>canvas</title> <style type="text/css"> #canvas{border:1px solid #eee ; display:block; backgroun ...
分类:
其他好文 时间:
2016-05-11 11:04:07
阅读次数:
180
本片文章学习自翔哥的库:https://github.com/hongyangAndroid/MagicViewPager实现效果:Rotate YRotate DownRotate UpAlphaScaleIn
ScaleIn + Alpha + Rotate Down效果贴了这么多,看看如何实现的吧。添加依赖:compile 'com.zhy:magic-viewpager:1.0.1'布局:...
分类:
其他好文 时间:
2016-05-11 07:19:44
阅读次数:
249
HTTP Status 500 - Request processing failed; nested exception is javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decry ...
分类:
编程语言 时间:
2016-05-10 18:14:34
阅读次数:
5878
CSS3 转换,我们能够对元素进行移动、缩放、转动、拉长或拉伸。 transform 在2D里主要是4个方法。除了rotate 其他都是接受x y值 translate skew rotate scale Translate:元素从其当前位置移动,根据给定的 left(x 坐标) 和 top(y 坐 ...
分类:
Web程序 时间:
2016-05-09 15:43:55
阅读次数:
163