码迷,mamicode.com
首页 >  
搜索关键字:shape    ( 2078个结果
使用selector和shape实现圆角选项
最近在做一个项目,里边的设置页面要求圆角选项,类似QQ浏览器中的设置页面。...
分类:其他好文   时间:2014-10-24 10:57:50    阅读次数:202
android用shape画虚线,怎么也不显示
android用shape画虚线,根本就无法显示...
分类:移动开发   时间:2014-10-23 12:25:52    阅读次数:172
Shape path too large to be rendered into a texture
Shape path too large to be rendered into a texture (747x8294, max=8192x8192)图像显示的时候出现该问题,经分析是由于开启硬件加速导致加载的path大小被限制。问题出现场景:从相册或者本地选择图片,在gridView中展示。别的...
分类:其他好文   时间:2014-10-21 21:09:24    阅读次数:284
android用shape给linearLayout设置边框,怎样只保留底部或顶部的边框,把其它三个方向的边框去掉呢?
============问题描述============ 下面是我的测试代码,最终效果LinearLayout有灰色边框,要怎样保留底部或顶部的边框,其它三个方向的边框去掉?boder.xml text.xml ...
分类:移动开发   时间:2014-10-19 22:56:06    阅读次数:256
numpy中tile函数
tile函数位于python模块numpy.lib.shape_base中,他的功能是重复某个数组。函数的形式是tile(A,reps)函数参数说明中提到A和reps都是array_like的,什么是array_like的parameter呢?在网上查了一下,始终搞不明白,便把熟悉的python数据...
分类:其他好文   时间:2014-10-18 22:12:09    阅读次数:1519
Allegro Update to Smooth出现 1 dynamic shape is still out of date or empty.Run out of date shape report from status dialog to identify them.对话框问题
下拉菜单Shape -> Select Shape or Void/Cavity点奇异点的边界,看到width为零的Line Segment 在Boundary层Ctrl+F5打开Color dialog对话框允许所有boundar Cavity显示下拉菜单EDIT ->DELETE ->Find选...
分类:其他好文   时间:2014-10-17 11:40:13    阅读次数:2862
根据道路的shape获得high_cross和low_cross
如图所示:如何根据提供的道路的shape file获得该路的high cross和low cross 所谓的high cross就是图中的king st这条路,low cross是Gravers Ln这条路。 具体实现的方法如下: #1 将道路的shape数据导入到 Sql Server中 #2 在实体表中增加两个字段low_cross和high_cross #3 用程序【我是用C#写的...
分类:其他好文   时间:2014-10-15 19:46:41    阅读次数:267
Android屏幕适应详解(一)
一、关于布局适配1、不要使用绝对布局2、尽量使用match_parent 而不是fill_parent 。3、能够使用权重的地方尽量使用权重(android:layout_weight)4、如果是纯色背景,尽量使用android的shape 自定义。5、如果需要在特定分辨率下适配,可以在res目录上...
分类:移动开发   时间:2014-10-15 19:46:11    阅读次数:253
harris 算法的python实现
harris 作为最常用的特征点检测算法。      第一个文件harris.py from scipy.ndimage import filters from numpy import * from pylab import * def compute_harris_response(im,sigma=3): imx=zeros(im.shape)#计算导数 filters....
分类:编程语言   时间:2014-10-15 00:15:19    阅读次数:851
WP8.1 UI 编程 四、图形
1. 图形中常用的基本的类Point:(x,y)坐标确定的点。Size:由Height和Width确定高宽的大小类。Rect:矩形类,显然可以由一个Point和一个Size来确定。Color:由R、G、B、A确定的颜色类。Geometry和Shape都是定义空间区域的类,Shape拥有相关的画笔并可...
分类:其他好文   时间:2014-10-14 22:51:19    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!