- 博客(3)
- 资源 (1)
- 收藏
- 关注
转载 ios 利用颜色生成UIImage
-(UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size { CGRect rect = CGRectMake(0, 0, size.width, size.height); UIGraphicsBeginImageContext(rect.size); CGContextRef context = U
2014-10-11 16:40:45
652
原创 android scrollview截图
public static Bitmap getBitmapByView(ScrollView scrollView) { int h = 0; Bitmap bitmap = null; // 获取scroll实际高度 for (int i = 0; i h += scrollView.getCh
2014-09-26 15:47:32
485
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人