摘要:
一、概要 我们经常用到Canvas.drawBitmap方法,却很少用到Canvas.drawBitmapMesh方法。这个方法为我们做图片变形提供了无限可能,同时也对数学功底有较高的要求。下面先看一下方法介绍: /** * Draw the bitmap through the mesh, whe 阅读全文
摘要:
一、概述 先看一下Shader类的介绍: /** * Shader is the based class for objects that return horizontal spans of colors during drawing. * A subclass of Shader is inst 阅读全文
摘要:
一、概念理解 Base class for maintaining global application state. You can provide your own implementation by creating a subclass and specifying the fully-qu 阅读全文
摘要:
一、Context概念理解 Google解释如下: Interface to global information about an application environment. This is an abstract class whose implementation is provided 阅读全文