By Conmajia Originally posted in 2012 Introduction Simple & fast implementation of a rectangular RGB palette control for .NET Fx 2.0. Old-school shit. Name it as SRP. Project download- Nah... (ancient project, where on earth can I retrieve those anti…
Conmajia 2012 Updated on Feb. 18, 2018 In Photoshop, there is a very powerful feature Curve Adjust, as shown in figure 1. figure 1 Curve Adjust in Photoshop You can adjust image parameters by adding, deleting or dragging nodes of the image curve. Bas…
最近在做一款交互性较为复杂的APP,需要开发一个方向操作控件.最终用自定义控件做了一个简单的版本. 这里我准备了两张素材图,作为方向盘被点击和没被点击的背景图.下面看看自定义的Wheel类 public class Wheel extends View implements View.OnTouchListener{ int xPosition;//点击按钮的x坐标 int yPosition;//点击按钮的y坐标 int centerX;//方向盘X轴中心 int centerY;//方向盘Y…
尊重原创转载请注明:From AigeStudio(http://blog.csdn.net/aigestudio)Power by Aige 侵权必究! 炮兵镇楼 上一节我们粗略地讲了下怎样去实现我们的View并概述了View形成动画的基本原理,这一节我们紧跟上一节的步伐来深挖怎样去绘制更复杂的View! 通过上一节的学习我们了解到什么是画布Canvas什么是画笔Paint,而且学习了怎样去设置画笔的属性怎样在画布上画一个圆,然而,画笔的属性并不是只就设置个颜色.大小那么简单而画布呢肯定也不单…