![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android 绘图
CODERLIHAO
这个作者很懒,什么都没留下…
展开
-
PathEffect
public classPathEffectextends Objectjava.lang.Object ↳android.graphics.PathEffectKnown Direct SubclassesComposePathEffect, CornerPathEffect, Das转载 2015-11-09 10:23:34 · 836 阅读 · 0 评论 -
InsetDrawable
。。。。。原创 2015-11-12 16:41:52 · 799 阅读 · 0 评论 -
AnimationDrawable
。。。。。原创 2015-11-12 16:41:28 · 531 阅读 · 0 评论 -
LayerDrawable
。。。。。。。。。。。。。原创 2015-11-12 16:37:52 · 522 阅读 · 0 评论 -
RotateDrawable
。。。。。。原创 2015-11-12 16:36:42 · 1786 阅读 · 0 评论 -
ScaleDrawable
public classScaleDrawableextends DrawableWrapperjava.lang.Object ↳android.graphics.drawable.Drawable ↳android.graphics.drawable.DrawableWrapper原创 2015-11-12 16:39:49 · 474 阅读 · 0 评论 -
StateListDrawable
public classStateListDrawableextends DrawableContainerjava.lang.Object ↳android.graphics.drawable.Drawable ↳android.graphics.drawable.DrawableConta原创 2015-11-12 16:38:16 · 612 阅读 · 0 评论 -
TransitionDrawable
public classTransitionDrawableextends LayerDrawableimplements Drawable.Callbackjava.lang.Object ↳android.graphics.drawable.Drawable ↳android.graphi原创 2015-11-12 16:37:19 · 484 阅读 · 0 评论 -
Android Drawable (android 6.0)
Drawableextends Objectjava.lang.Object ↳android.graphics.drawable.DrawableKnown Direct SubclassesAnimatedVectorDrawable, BitmapDrawable, ColorDrawab原创 2015-11-09 15:02:11 · 1230 阅读 · 0 评论 -
VectorDrawable与AnimatedVectorDrawable
public classVectorDrawable Added in API level 21extends Drawablejava.lang.Object ↳android.graphics.drawable.Drawable原创 2015-11-12 16:42:57 · 1771 阅读 · 0 评论 -
RippleDrawable
public classRippleDrawable Added in API level 21extends LayerDrawablejava.lang.Object ↳android.graphics.drawable.Drawable原创 2015-11-12 16:43:46 · 3587 阅读 · 1 评论 -
ClipDrawable
public classClipDrawableextends DrawableWrapperjava.lang.Object ↳android.graphics.drawable.Drawable ↳android.graphics.drawable.DrawableWrapper原创 2015-11-12 16:40:11 · 820 阅读 · 0 评论 -
LevelListDrawable
LevelListDrawableextends DrawableContainerjava.lang.Object ↳android.graphics.drawable.Drawable ↳android.graphics.drawable.DrawableContainer原创 2015-11-12 16:39:11 · 629 阅读 · 0 评论 -
NinePatchDrawable
。。。。。原创 2015-11-12 16:42:21 · 478 阅读 · 0 评论 -
Paint.Join与Paint.Cap
Paint.Join该类主要描述path的拐角处如何绘制 private static class SampleView extends View { private Paint linePaint = new Paint(Paint.ANTI_ALIAS_FLAG); private Paint mPaint1 = new Pain原创 2015-11-09 10:46:38 · 694 阅读 · 0 评论 -
Canvas drawText
Paint的一个测量字体的内部类FontMetricsFontMetrics fm = mTextPaint.getFontMetrics(); /** * Class that describes the various metrics for a font at a given text size. * Remember, Y values incr原创 2015-11-11 12:47:07 · 723 阅读 · 0 评论 -
Shader与MaskFilter
public classShaderextends Objectjava.lang.Object ↳android.graphics.ShaderKnown Direct SubclassesBitmapShader, ComposeShader, LinearGradient, Rad原创 2015-11-10 17:07:09 · 626 阅读 · 0 评论 -
Android Matrix
一、平移变换假定有一个点的坐标是 ,将其移动到 ,再假定在x轴和y轴方向移动的大小分别为:不难知道:如果用矩阵来表示的话,就可以写成:二、旋转变换围绕坐标原点旋转假定有一个点 ,相对坐标原点顺时针旋转后的情形,同时假定P点离坐标原点的距离为r,如下图:那么,围绕某转载 2015-11-11 16:57:23 · 522 阅读 · 0 评论 -
Region.Op与Path.FillType
一、Region.Op Region rgn = new Region(); rgn.set(mRect1); rgn.op(mRect2, op); //关键代码 mPaint.setColor(color); RegionIterator iter = new RegionIterator(原创 2015-11-12 10:32:59 · 848 阅读 · 0 评论 -
ColorDrawable
先占个位,以后再写。。。。。。。。。原创 2015-11-12 16:34:56 · 530 阅读 · 0 评论 -
BitmapDrawable
public classBitmapDrawable Added in API level 1extends Drawablejava.lang.Object ↳android.graphics.drawable.Drawable原创 2015-11-09 16:02:21 · 495 阅读 · 0 评论 -
AnimatedStateListDrawable
。。。。。。。。。。原创 2015-11-12 16:38:43 · 1056 阅读 · 1 评论 -
GradientDrawable
先占个位,以后再写。。。。。。。。原创 2015-11-12 16:35:58 · 854 阅读 · 0 评论 -
PorterDuff.Mode与Xfermode(android 6.0)
一、PorterDuff.Mode1.PorterDuff.Mode.CLEAR 所绘制不会提交到画布上。2.PorterDuff.Mode.SRC 显示上层绘制图片3.PorterDuff.Mode.DST 显示下层绘制图片4.PorterDuff.Mode.SRC_OVER 正常绘制显示,上下层绘制叠盖。原创 2015-11-10 11:55:46 · 1114 阅读 · 0 评论