为您找到相关结果153,969个
C# 绘制统计图大全(柱状图, 折线图, 扇形图)_C#教程_脚本之家
g.DrawString(Count1[0].ToString(), font3, Brushes.Red, 58, points1[0].Y - 20); g.DrawString(Count1[1].ToString(), font3, Brushes.Red, 138, points1[1].Y - 20); g.DrawString(Count1[2].ToString(), font3, Brushes.Red, 218, points1[2].Y - 20); g.DrawString(Count1[3]....
www.jb51.net/article/967...htm 2024-10-5
JS常用加密编码与算法实例总结_javascript技巧_脚本之家
function safe_add(x, y) { var lsw = (x & 0xFFFF) + (y & 0xFFFF); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return (msw << 16) | (lsw & 0xFFFF); } /* * Bitwise rotate a 32-bit number to the left. */ function bit_rol(num, cnt) { return (num ...
www.jb51.net/article/1008...htm 2024-9-29
JS实现带阴历的日历功能详解_javascript技巧_脚本之家
"\u95f0":'')+calendar.toChinaMonth(month),'IDayCn':calendar.toChinaDay(day),'cYear':y,'cMonth':m,'cDay':d,'gzYear':gzY,'gzMonth':gzM,'gzDay':gzD,'isToday':isToday,'isLeap':isLeap,'nWeek':nWeek,'ncWeek':"\u661f\u671f"+cWeek,'isTerm':isTerm,'Term':Term,'astro'...
www.jb51.net/article/1553...htm 2024-10-4
Android SwipeMenuListView框架详解分析_Android_脚本之家
MAX_Y = dp2px(MAX_Y); mTouchState = TOUCH_STATE_NONE; } @Override /** * 对参数adapter进行了一次包装,包装成SwipeMenuAdapter */ public void setAdapter(ListAdapter adapter) { super.setAdapter(new SwipeMenuAdapter(getContext(), adapter) { @Override public void createMenu(SwipeMenu menu) {...
www.jb51.net/article/960...htm 2024-10-5
利用SurfaceView实现下雨与下雪动画效果详解(Kotlin语法)_Android_脚本...
if (end.y > context.getScreenHeight()) clear() } fun calcCenter(): PointF { val center = PointF(0f, 0f) center.x = (start.x + end.x) / 2f center.y = (start.y + end.y) / 2f return center } override fun randomSpeed(random: Random): Float { // 获取随机速度0.005 ~ 0....
www.jb51.net/article/1236...htm 2024-10-7
python常用运维脚本实例小结_python_脚本之家
d = os.system('yum install keepalived -y &> /dev/null') if d == 0: print('keeplived下载完成') with open(r'/etc/keepalived/keepalived.conf', 'w', encoding='utf-8') as f: f.write(keepalived) e = os.system('systemctl start keepalived') if e == 0: print('keepalived部署完成!
www.jb51.net/article/1804...htm 2024-10-7