首页
首页
沸点
课程
直播
活动
竞赛
商城
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
卜卜Bruce
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
赞
1
文章 1
沸点 0
赞
1
返回
|
搜索文章
最新
热门
绘制以某点为基准缩放
--- # 主题列表:juejin, github, smartblue, cyanosis, channing-cyan, fancy, hydrogen, condensed-night-purp
paint.getTextWidths的小坑
getTextWidths用来测量字符的宽度,但是字体设置为calibri.ttf时,测量ff会有问题如图所示第2个f测量为0;其实第一个f的宽度就是两个f的宽度;上述代码中第一个f为175第二个f的
android判断状态栏是否可见
Canvas 缩放图片中细节消失
在Canvas中使用maritx缩放的时候,发现图片中有些线消失了。
English Metric Units 介绍
计算字体大小会经常用到
Android O 8.0 以上 bitmap内存分配
From Android 3.0 (API level 11) through Android 7.1 (API level 25),the pixel data is stored on the Dalvik heap along with the associated bi…
JAVA 虚拟机可用内存
Current allocated free memory, is the current allocated space ready for new objects. Caution this is not the total free available memory:
android View 绘图双缓冲技术
原理:不在ondraw中处理绘图操作,在另外一个bitmap中操作,绘制完成后再通知主线程更新UI把之前的bitmap绘制到View的canvas中。
java list最优遍历
zero() is slowest, because the JIT can't yet optimize away the cost of getting the array length once for every iteration through the loop. …
canvas.drawText浅析
比如绘制A,这个x,y 是A的左下角的坐标,下图 baseline起点,而不是右上角的坐标。 关于字体参数可以查看下面图片。
下一页
个人成就
文章被点赞
3
文章被阅读
23,997
掘力值
278
关注了
6
关注者
0
收藏集
0
关注标签
21
加入于
2016-11-20