码迷,mamicode.com
首页 >  
搜索关键字:scroll rect    ( 7740个结果
UIBezierPath IOS贝塞尔曲线
//记录 贝塞尔曲线使用//根据一个矩形画曲线+ (UIBezierPath *)bezierPathWithRect:(CGRect)rect//根据矩形框的内切圆画曲线+ (UIBezierPath *)bezierPathWithOvalInRect:(CGRect)rect//根据矩形画带圆...
分类:移动开发   时间:2014-10-22 18:06:39    阅读次数:168
【Cocos2d-x-js系列】制作人物动画
OnWalkClick:function(sender){var sfLaoJun1=new cc.SpriteFrame(res.npc_laojun1,cc.rect(0,0,70,101));var sfLaoJun2=new cc.SpriteFrame(res.npc_laojun2,cc...
分类:Web程序   时间:2014-10-22 17:44:57    阅读次数:159
页面滚到到指定位置,元素的绝对定位和相对定位的自由转换
var $goTop = $("#goTop"); //需要操作的对象$(window).scroll(function(){ var scrollHeight = $(window).scrollTop();//这个方法是当前滚动条滚动的距离 var height = $("body").h...
分类:其他好文   时间:2014-10-22 12:26:46    阅读次数:179
android学习——GestureDetector.OnGestureListener 详解
Android Touch Screen 与传统Click Touch Screen不同,会有一些手势(Gesture),例如Fling,Scroll等等。这些Gesture会使用户体验大大提升。Android中的Gesture识别(detector)是通过GestureDetector.OnGes...
分类:移动开发   时间:2014-10-21 19:30:19    阅读次数:381
对只转发结果集的无效操作:last
调用时候发生这样一个错误:SQLException:对只转发结果集的无效操作:last原因是按照缺省方式打开的ResultSet不支持结果集cursor的回滚如果想要完成上述操作,要在生成Statement对象时加入如下两个参数:ResultSet.TYPE_SCROLL_INSENSITIVE, ...
分类:其他好文   时间:2014-10-21 19:29:44    阅读次数:174
SQLServer在多个表中都增加一个字段的方法
1、使用游标declare @sql varchar(200), @name varchar(40)declare my_cursor scroll cursor for select name from sysobjects where type = 'u' and name like 'j...
分类:数据库   时间:2014-10-21 13:43:42    阅读次数:209
scroll中放入listview,并解决scroll初始化不置顶问题
首先,scroll中放入listview的话,listview是显示不全的,这时候需要动态修改listview的长度 public void setListViewHeight(ListView listView) { // 获取ListView对应的Adapter ListAdapter listAdapter = listView.getAdapte...
分类:其他好文   时间:2014-10-21 12:19:01    阅读次数:208
UITextView获取光标位置
UITextRange *range = textView.selectedTextRange;     //光标位置     CGRect  rect = [textView caretRectForPosition:range.start];     当UITextView的光标在最后位置连续输入4个或以上换行符号时,输出rect为 {{inf,inf},{0,0}}...
分类:其他好文   时间:2014-10-21 12:16:43    阅读次数:298
关于Delphi绘制文本的一些记录
var R: TRect;begin//Form1.Canvas.TextOut(20,20, '说明'); R:=Rect(20, 20, 120, 70); DrawText(Canvas.Handle, '说明', -1, R, DT_END_ELLIPSIS);end;//在...
分类:Windows程序   时间:2014-10-21 02:14:19    阅读次数:293
视差滚动学习笔记(1):整屏滚动
JS实现滚动整个屏幕 | 使用window.scroll实现滚动鼠标整个屏幕滚动,缓慢平滑地切换到下一个屏幕
分类:其他好文   时间:2014-10-20 13:09:43    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!