We have a circle of radius R and several line segments situated within the circumference of this circle. Let’s define acool pointto be a point on the ...
分类:
其他好文 时间:
2014-12-19 13:02:44
阅读次数:
236
公司要求换一个loading,然后随便写写,改了下border-radius的参数,发现这个类似叶子形状的挺不错的啊,哈哈~...
分类:
其他好文 时间:
2014-12-18 12:01:39
阅读次数:
174
/// /// 图像模糊化 /// /// 原始图像 /// 模糊化后的图像 public static Bitmap Blur(Bitmap bitmap, int radius, float sigma) { if (bitmap == null) { return null; } int .....
border-radius:20px;radius:以某某为半径画圆。如何制作一个圆形:div{height:150px;//像素的一半,再加上边框的像素 width:150px; border:#0c3 20px solid; border-left-color: red; border-...
分类:
Web程序 时间:
2014-12-12 20:50:04
阅读次数:
149
前缀-moz(例如 -moz-border-radius)用于Firefox-webkit(例如:-webkit-border-radius)用于Safari和Chrome。例1#round { padding:10px; width:300px; height:50px; border...
分类:
Web程序 时间:
2014-12-12 13:11:23
阅读次数:
155
Css: .spinner{ width:245px; height:245px; position:relative;}.coly{ border-radius:130px; font-size:19px; background:#333; border:10px solid #ecab1...
分类:
Web程序 时间:
2014-12-09 19:28:03
阅读次数:
523
arc与arcTo,从名字都能看出来相似。arcTo也是画曲线的方法,而且他画出的曲线也是正圆的一段弧线。但他的参数和arc简直是不共戴天~ctx.arcTo(x1,y1,x2,y2,radius);arcTo的参数中包括两个点,而且这两个点中并没有表示圆心的点,仅仅最后的参数是圆的半径,表示arc...
分类:
Web程序 时间:
2014-12-08 17:40:43
阅读次数:
227
一、前缀: -moz(例如 -moz-border-radius)用于Firefox -webkit(例如:-webkit-border-radius)用于Safari和Chrome。二、CSS3圆角(所有的) -moz-border-radius: 15px; -webkit-border...
分类:
Web程序 时间:
2014-12-08 12:07:48
阅读次数:
269
绘图(一)CanvasRenderingContext2D提供的方法方法签名 简要说明void arc(float x,float y,float radius,float startAngle,float endAngle,boolean counterlockwise) 向Canvas的当前.....
分类:
Web程序 时间:
2014-12-08 01:58:58
阅读次数:
220
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5120A ring is a 2-D figure bounded by two circles sharing the common center. The radius for these circl...
分类:
其他好文 时间:
2014-12-07 21:31:26
阅读次数:
256