画图类和动画类概览

来源:互联网 发布:numpy 矩阵列归一化 编辑:程序博客网 时间:2024/06/06 01:35

publicfinal class

Bitmap

extends Object
implements Parcelable

java.lang.Object

   ↳

android.graphics.Bitmap

 

------------------------------------------------------------------------------------------------------------------------------------------------ 

 

publicclass

BitmapFactory

extends Object

java.lang.Object

   ↳

android.graphics.BitmapFactory

Class Overview


CreatesBitmap objects from various sources, including files, streams, and byte-arrays.

 

 ------------------------------------------------------------------------------------------------------------------------------------------------ 

 

publicclass

Canvas

extends Object

java.lang.Object

   ↳

android.graphics.Canvas

Class Overview


TheCanvas class holds the "draw" calls. To draw something, you need 4basic components: A Bitmap to hold the pixels, a Canvas to host the draw calls(writing into the bitmap), a drawing primitive (e.g. Rect, Path, text, Bitmap),and a paint (to describe the colors and styles for the drawing).

 

 ------------------------------------------------------------------------------------------------------------------------------------------------ 

 

publicclass

Paint

extends Object

java.lang.Object

   ↳

android.graphics.Paint

 

Known Direct Subclasses

TextPaint

Class Overview


ThePaint class holds the style and color information about how to draw geometries,text and bitmaps.

 ------------------------------------------------------------------------------------------------------------------------------------------------ 

 

 

publicabstract class

Animator

extends Object
implements Cloneable

java.lang.Object

   ↳

android.animation.Animator

 

Known Direct Subclasses

AnimatorSetValueAnimator

 

Known Indirect Subclasses

ObjectAnimatorTimeAnimator

Class Overview


This isthe superclass for classes which provide basic support for animations which canbe started, ended, and have AnimatorListeners added to them.

Interface Animator.AnimatorListener

Interface Animator.AnimatorPauseListener

 ------------------------------------------------------------------------------------------------------------------------------------------------ 

 

 

publicclass

ValueAnimator

extends Animator

java.lang.Object

   ↳

android.animation.Animator

 

   ↳

android.animation.ValueAnimator

 

Known Direct Subclasses

ObjectAnimatorTimeAnimator

 

Interface ValueAnimator.AnimatorUpdateListener

 

 ------------------------------------------------------------------------------------------------------------------------------------------------ 

publicfinal class

ObjectAnimator

extends ValueAnimator

java.lang.Object

   ↳

android.animation.Animator

 

   ↳

android.animation.ValueAnimator

 

 

   ↳

android.animation.ObjectAnimator

 ------------------------------------------------------------------------------------------------------------------------------------------------ 

 

 

publicabstract class

Animation

extends Object
implements Cloneable

java.lang.Object

   ↳

android.view.animation.Animation

 

Known Direct Subclasses

AlphaAnimationAnimationSetRotateAnimationScaleAnimationTranslateAnimation

Interface Animation.AnimationListener

Class Animation.Description

 ------------------------------------------------------------------------------------------------------------------------------------------------ 

0 0
原创粉丝点击