zoukankan      html  css  js  c++  java
  • android 2D API相关

    * 图元和画布

    * Bitmap

    * Bitmap.CompressFormat

    * Bitmap.Config

    * BitmapFactory

    * BitmapFactory.Options

    * Canvas

    * Canvas.VertexMode

    * Movie

    * NinePatch

    * Picture

    * 非几何属性

    * Color

    * Paint

    * Paint.Align

    * Paint.Cap

    * Paint.Join

    * Paint.Style

    * Paint.FontMetrics

    * Typeface

    * ColorMatrix

    * PixelFormat

    * PorterDuff

    * PorterDuff.Mode

    * PorterDuffXfermode

    * Xfermode

    * 着色器

    * BitmapShader

    * LinearGradient

    * RadialGradient

    * Shader

    * Shader.TileMode

    * SweepGradient

    * 滤镜

    * BlurMaskFilter

    * BlurMaskFilter.Blur

    * ColorFilter

    * ColorMatrixColorFilter

    * DrawFilter

    * EmbossMaskFilter

    * MaskFilter

    * PaintFlagsDrawFilter

    * PorterDuffColorFilter

    * 结果

    * ComposePathEffect

    * CornerPathEffect

    * DashPathEffect

    * DiscretePathEffect

    * PathDashPathEffect

    * PathDashPathEffect.Style

    * PathEffect

    * 几何属性

    * Camera

    * 感化

    批改Matrix或Canvas,建造三维结果

    * 机关

    Camera()

    创建单位相机

    * 实例办法

    void applyToCanvas(Canvas canvas)

    批改画布

    void getMatrix(Matrix matrix)

    转换为矩阵

    float dotWithNormal(float dx, float dy, float dz)

    未知

    void rotateX(float deg)

    绕X轴扭转

    void rotateY(float deg)

    绕Y轴扭转

    void rotateZ(float deg)

    绕Z轴扭转

    void translate(float x, float y, float z)

    坐标转换(若是x==0&&y==0则调剂深度)

    void save()

    保存

    void restore()

    恢复

    * Matrix

    * 感化

    3*3坐标转换矩阵

    用于

    Shader.setLocalMatrix(),Canvas.concat(),

    Transformation.getMatrix(),Camera.getMatrix()

    * 机关

    Matrix()

    创建3*3单位矩阵

    Matrix(Matrix src)

    深复制

    * 常量

    intMPERSP_0

    intMPERSP_1

    intMPERSP_2

    intMSCALE_X

    intMSCALE_Y

    intMSKEW_X

    intMSKEW_Y

    intMTRANS_X

    intMTRANS_Y

    * 实例办法

    String toShortString()

    短字符串

    String toString()

    返回矩阵值的字符串,用于调试

    boolean equals(Object obj)

    断定矩阵是否相等

    boolean isIdentity()

    断定是否为单位矩阵。

    boolean rectStaysRect()

    断定是否把矩形映射为矩形

    void reset()

    重置为单位矩阵。

    void set(Matrix src)

    深复制

    void getValues(float[] values)

    把矩阵转换为长度为9的数组。

    void setValues(float[] values)

    把长度为9的数组转换为矩阵值。

    void setScale(float sx, float sy)

    缩放,因子为sx和sy,中间为原点。

    void setScale(float sx, float sy, float px, float py)

    缩放,因子为sx何sy,中间为(px, py)。

    boolean preScale(float sx, float sy)

    前缩放,因子为sx和sy,中间为原点。

    boolean preScale(float sx, float sy, float px, float py)

    前缩放,因子为sx和sy,中间为(px, py)。

    boolean postScale(float sx, float sy)

    后缩放,因子为sx和sy,中间为原点。

    boolean postScale(float sx, float sy, float px, float py)

    后缩放,因子为sx和sy,中间为(px, py)。

    void setRotate(float degrees)

    扭转指定度数,轴为原点。

    void setRotate(float degrees, float px, float py)

    扭转指定度数,轴为(px, py)。

    void setSinCos(float sinValue, float cosValue)

    设置矩阵扭转指定的sin和cos值,轴为(0, 0)。

    void setSinCos(float sinValue, float cosValue, float px, float py)

    设置矩阵扭转指定的sin和cos值,轴为(px, py)。

    boolean preRotate(float degrees)

    前扭转指定度数,轴为原点。

    boolean preRotate(float degrees, float px, float py)

    前扭转指定度数,轴为(px, py)。

    boolean postRotate(float degrees)

    后扭转指定度数,轴为原点。

    boolean postRotate(float degrees, float px, float py)

    后扭转指定度数,轴为(px, py)。

    void setTranslate(float dx, float dy)

    设置矩阵为单位矩阵平移(dx, dy).

    boolean preTranslate(float dx, float dy)

    前平移(dx, dy)

    boolean postTranslate(float dx, float dy)

    后平移(dx, dy)

    void setSkew(float kx, float ky)

    歪斜(sx, sy),轴在原点。

    void setSkew(float kx, float ky, float px, float py)

    歪斜(sx, sy),轴在(px, py)。

    boolean preSkew(float kx, float ky)

    前歪斜(sx, sy),轴在原点。

    boolean preSkew(float kx, float ky, float px, float py)

    前歪斜(sx, sy),轴在(px, py)。

    boolean postSkew(float kx, float ky)

    后歪斜(sx, sy),轴在原点。

    boolean postSkew(float kx, float ky, float px, float py)

    后歪斜(sx, sy),轴在(px, py)。

    boolean setConcat(Matrix a, Matrix b)

    若是两个矩阵可以叉乘,则设置this为两个矩阵的叉乘。

    boolean preConcat(Matrix other)

    前叉乘指定的矩阵

    boolean postConcat(Matrix other)

    后叉乘指定的矩阵

    boolean setPolyToPoly(float[] src, int srcIndex, float[] dst, int dstIndex, int pointCount)

    设置矩阵使src坐标数组映射到dst坐标数组(若是srcIndex==dstIndex==0,则pointCount是src和dst数组长度的一半)

    boolean setRectToRect(RectF src, RectF dst, Matrix.ScaleToFit stf)

    设置矩阵为缩放和变换值,使src矩形映射到dst矩形。

    boolean invert(Matrix inverse)

    若是this可转置,设置inverse为this的转置矩阵(用于mapPoints)

    void mapPoints(float[] pts)

    把矩阵原地应用到pts坐标数组。

    void mapPoints(float[] dst, float[] src)

    把矩阵应用到src坐标数组,成果保存在dst坐标数组中。

    void mapPoints(float[] dst, int dstIndex, float[] src, int srcIndex, int pointCount)

    把矩阵应用到src坐标数组,成果保存在dst坐标数组中,开端索引为srcIndex,点个数为pointCount。

    void mapVectors(float[] vecs)

    把矩阵原地应用(无平移结果)在2D向量数组。

    void mapVectors(float[] dst, float[] src)

    把矩阵应用(无平移结果)在2D向量数组src上,成果保存到2D向量数组dst。

    void mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int vectorCount)

    把矩阵应用(无平移结果)在2D向量数组src上,成果保存到2D向量数组dst,开端索引为srcIndex,向量个数为vectorCount。

    boolean mapRect(RectF rect)

    把矩阵原地应用应用在RectF对象上。

    boolean mapRect(RectF dst, RectF src)

    把矩阵应用在矩形src上,成果保存到矩形dst。

    float mapRadius(float radius)

    获取指定半径的圆在应用矩阵后的均匀半径值

    * Matrix.ScaleToFit

    * 感化

    用于Matrix.setRectToRect()

    * 静态办法

    static Matrix.ScaleToFit valueOf(String name)

    final static ScaleToFit[] values()

    * 列举

    Matrix.ScaleToFit FILL?

    正确地把矩形src缩放到dst,不推敲原有比例。

    Matrix.ScaleToFit START 

    保存比例缩放,在矩形dst内左上角对齐。

    Matrix.ScaleToFit CENTER 

    保存比例缩放,在矩形dst内居中对齐。

    Matrix.ScaleToFit END 

    保存比例缩放,在矩形dst内右下角对齐。?

    * Path

    * 感化

    线段、二次曲线和三次曲线的组合轮廓线,

    用于填充、描边(drawPath)、剪裁和文字绘画。

    * 机关

    Path()

    创建空路径

    Path(Path src)

    深复制

    * 实例办法

    void addArc(RectF oval, float startAngle, float sweepAngle)

    Add the specified arc to the path as a new contour.

    void addCircle(float x, float y, float radius, Path.Direction dir)

    Add a closed circle contour to the path

    void addOval(RectF oval, Path.Direction dir)

    Add a closed oval contour to the path

    void addPath(Path src, float dx, float dy)

    Add a copy of src to the path, offset by (dx,dy)

    void addPath(Path src)

    Add a copy of src to the path

    void addPath(Path src, Matrix matrix)

    Add a copy of src to the path, transformed by matrix

    void addRect(float left, float top, float right, float bottom, Path.Direction dir)

    Add a closed rectangle contour to the path

    void addRect(RectF rect, Path.Direction dir)

    Add a closed rectangle contour to the path

    void addRoundRect(RectF rect, float[] radii, Path.Direction dir)

    Add a closed round-rectangle contour to the path.

    void addRoundRect(RectF rect, float rx, float ry, Path.Direction dir)

    Add a closed round-rectangle contour to the path

    void arcTo(RectF oval, float startAngle, float sweepAngle)

    Append the specified arc to the path as a new contour.

    void arcTo(RectF oval, float startAngle, float sweepAngle, boolean forceMoveTo)

    Append the specified arc to the path as a new contour.

    void close()

    Close the current contour.

    void computeBounds(RectF bounds, boolean exact)

    Compute the bounds of the control points of the path, and write the answer into bounds.

    void cubicTo(float x1, float y1, float x2, float y2, float x3, float y3)

    Add a cubic bezier the last point, approaching control points (x1,y1) and (x2,y2), and ending at (x3,y3).

    Path.FillType getFillType()

    Return the path""s fill type.

    void incReserve(int extraPtCount)

    Hint to the path to prepare for adding more points.

    boolean isEmpty()

    Returns true if the path is empty (contains no lines or curves)

    boolean isInverseFillType()

    Returns true if the filltype is one of the INVERSE variants

    boolean isRect(RectF rect)

    Returns true if the path specifies a rectangle.

    void lineTo(float x, float y)

    Add a line the last point to the specified point (x,y).

    void moveTo(float x, float y)

    Set the beginning of the next contour to the point (x,y).

    void offset(float dx, float dy, Path dst)

    Offset the path by (dx,dy), returning true on success

    void offset(float dx, float dy)

    Offset the path by (dx,dy), returning true on success

    void quadTo(float x1, float y1, float x2, float y2)

    Add a quadratic bezier the last point, approaching control point (x1,y1), and ending at (x2,y2).

    void rCubicTo(float x1, float y1, float x2, float y2, float x3, float y3)

    Same as cubicTo, but the coordinates are considered relative to the current point on this contour.

    void rLineTo(float dx, float dy)

    Same as lineTo, but the coordinates are considered relative to the last point on this contour.

    void rMoveTo(float dx, float dy)

    Set the beginning of the next contour relative to the last point on the previous contour.

    void rQuadTo(float dx1, float dy1, float dx2, float dy2)

    Same as quadTo, but the coordinates are considered relative to the last point on this contour.

    void reset()

    Clear any lines and curves the path, making it empty.

    void rewind()

    Rewinds the path: clears any lines and curves the path but keeps the internal data structure for faster reuse.

    void set(Path src)

    Replace the contents of this with the contents of src.

    void setFillType(Path.FillType ft)

    Set the path""s fill type.

    void setLastPoint(float dx, float dy)

    Sets the last point of the path.

    void toggleInverseFillType()

    Toggles the INVERSE state of the filltype

    void transform(Matrix matrix, Path dst)

    Transform the points in this path by matrix, and write the answer into dst.

    void transform(Matrix matrix)

    Transform the points in this path by matrix.

    * Path.Direction

    * 感化

    指定闭合图形(矩形,椭圆)在添加路径时的朝向。

    * 静态办法:

    static Path.Direction valueOf(String name)

    final static Direction[] values()

    * 列举

    Path.Direction CW 

    顺时针

    Path.Direction CCW 

    逆时针 ?

    * Path.FillType

    * 感化

    路径填充体式格式

    * 静态办法

    static Path.FillType valueOf (String name)

    static final FillType[] values ()

    * 列举

    Path.FillType EVEN_ODD ?

    Path.FillType INVERSE_EVEN_ODD ?

    Path.FillType INVERSE_WINDING ?

    Path.FillType WINDING?

    * Point

    * 感化

    二维整数坐标(较少应用)

    * 公共域

    public intx

    横坐标

    public inty

    纵坐标

    * 机关

    Point()

    坐标为(0,0)

    Point(int x, int y)

    指定初始坐标

    Point(Point src)

    深复制

    * 实例办法

    int hashCode()

    哈希值

    boolean equals(Object o)

    值斗劲

    String toString()

    转换为字符串情势,用于调试

    final boolean equals(int x, int y)

    判读坐标相等

    void set(int x, int y)

    设置为(x, y)

    final void offset(int dx, int dy)

    偏移(dx, dy)

    final void negate()

    取反

    * PointF

    * 感化

    二维浮点坐标(较少应用)

    * 公开域

    public floatx

    横坐标

    public floaty

    纵坐标

    * 机关

    PointF()

    初始化为(0,0)的机关

    PointF(float x, float y)

    指定坐标的机关

    PointF(Point p)

    复制机关

    * 实例办法

    final boolean equals(float x, float y)

    断定值相等

    final void set(float x, float y)

    指定坐标赋值

    final void set(PointF p)

    深(值)复制

    final void offset(float dx, float dy)

    平移

    final void negate()

    坐标值取反(?)

    final float length()

    获取与(0,0)的间隔

    * 静态办法

    static float length(float x, float y)

    策画与另一个二维浮点坐标的间隔

    * Rect

    * 感化

    二维矩形区域

    * 公开域

    public static final Creator<Rect>CREATOR

    public intleft

    x1坐标值

    public inttop

    y1坐标值

    public intright

    x2坐标值

    public intbottom

    y2坐标值

    * 机关

    Rect()

    机关(0, 0, 0, 0)矩形区域

    Rect(int left, int top, int right, int bottom)

    指定初始坐标的矩形区域

    Rect(Rect r)

    深复制

    * 实例办法

    String toShortString()

    返回紧凑的字符串情势,用于调试。

    String toString()

    返回字符串情势,用于调试。

    boolean equals(Object obj)

    断定值相等

    int describeContents()

    可封包的接口办法

    void setEmpty()

    赋值为(0,0,0,0)

    void set(int left, int top, int right, int bottom)

    赋值为指定值

    void set(Rect src)

    复制赋值

    void writeToParcel(Parcel out, int flags)

    写入指定Parcel对象。

    void readFromParcel(Parcel in)

    从指定Parcel对象中读取

    final int width()

    宽度

    final int height()

    高度

    final int centerX()

    中间的x坐标(整数值)

    final int centerY()

    中间的y坐标(整数值)

    final float exactCenterX()

    中间的x坐标(浮点值)

    final float exactCenterY()

    中间的y坐标(浮点值)

    final boolean isEmpty()

    断定空矩形局限,left >= right或top >= bottom。

    void sort()

    排序top/bottom域或left/right域,使top<=bottom且left<=right。

    boolean contains(int x, int y)

    断定是否包含指定坐标。

    boolean contains(int left, int top, int right, int bottom)

    断定是否包含指定矩形局限。

    boolean contains(Rect r)

    断定是否包含指定Rect对象。

    boolean intersect(Rect r)

    取this和指定Rect对象的交集赋给this。若是没有交集就不批改this。

    boolean intersect(int left, int top, int right, int bottom)

    取this和指定矩形局限的交集赋给this。若是没有交集就不批改this。

    boolean intersects(int left, int top, int right, int bottom)

    取this和指定矩形局限的交集赋给this。若是没有交集就不批改this(不搜检空局限)

    boolean setIntersect(Rect a, Rect b)

    获取两个Rect对象的交集并赋给this,若是没有交集就不改变this。

    void union(int left, int top, int right, int bottom)

    扩大this,让this包含指定矩形局限。

    void union(Rect r)

    扩大this,让this包含指定Rect对象。

    void union(int x, int y)

    扩大this,让this包含指定坐标(x,y)。

    void inset(int dx, int dy)

    左上角偏移(dx,dy),但右下角不变(?)

    void offset(int dx, int dy)

    偏移(dx, dy),大小不变。

    void offsetTo(int newLeft, int newTop)

    偏移到指定坐标,大小不变。

    String flattenToString()

    把this转换为字符串(用unflattenFromString进行逆转换)

    * 静态办法:

    static Rect unflattenFromString(String str)

    flattenToString的逆操纵,把字符串转为Rect对象。

    static boolean intersects(Rect a, Rect b)

    断定两个指定Rect对象是否订交

    * RectF

    * 感化

    二维浮点矩形区域

    可用于:

    Canvas.drawRect,Canvas.drawArcs,Canvas.drawOval,

    Path.computeBounds,Canvas.drawPicture,

    Matrix.setRectToRect,RoundRectShape,Path.arcTo

    * 公开域

    public static final Creator<RectF>CREATOR

    public floatleft

    x1坐标值

    public floattop

    y1坐标值

    public floatright

    x2坐标值

    public floatbottom

    y2坐标值

    * 机关

    RectF()

    初始化为(0,0,0,0)

    RectF(float left, float top, float right, float bottom)

    指定坐标机关

    RectF(RectF r)

    复制机关

    RectF(Rect r)

    Rect机关

    * 实例办法

    String toString()

    转换为字符串情势,用于调试

    void setEmpty()

    设置为(0,0,0,0)

    void set(float left, float top, float right, float bottom)

    坐标赋值

    void set(RectF src)

    复制赋值

    void set(Rect src)

    Rect赋值

    final float width()

    宽度

    final float height()

    高度

    final float centerX()

    中间x坐标

    final float centerY()

    中间y坐标

    final boolean isEmpty()

    断定矩形局限为空(left >= right或top >= bottom)

    void sort()

    排序top/bottom或left/right使left<=right且top<=bottom。

    boolean contains(float left, float top, float right, float bottom)

    断定是否包含指定区域。

    boolean contains(float x, float y)

    断定是否包含指定坐标。

    boolean contains(RectF r)

    断定是否包含指定RectF对象。

    int describeContents()

    与Parcel对象的接口办法。

    void writeToParcel(Parcel out, int flags)

    写入指定Parcel对象。

    void readFromParcel(Parcel in)

    读取指定Parcel对象的RectF值到this。

    void inset(float dx, float dy)

    Inset the rectangle by (dx,dy).

    boolean intersect(RectF r)

    取this和指定RectF对象的交集赋给this。若是没有交集就不批改this。

    boolean intersect(float left, float top, float right, float bottom)

    取this和指定矩形局限的交集赋给this。若是没有交集就不批改this。

    boolean intersects(float left, float top, float right, float bottom)

    取this和指定矩形局限的交集赋给this。若是没有交集就不批改this(不搜检空局限)

    boolean setIntersect(RectF a, RectF b)

    断定是否订交,若是订交则获取订交二维区域

    void union(float left, float top, float right, float bottom)

    扩大this,让this包含指定矩形局限。

    void union(RectF r)

    扩大this,让this包含指定RectF对象。

    void union(float x, float y)

    扩大this,让this包含指定坐标。

    void offset(float dx, float dy)

    偏移(dx, dy)

    void offsetTo(float newLeft, float newTop)

    偏移到指定坐标。

    void round(Rect dst)

    四舍五入,然后赋给dst。

    void roundOut(Rect dst)

    取整(包管包含this),然后赋给dst。

    * 静态办法

    static boolean intersects(RectF a, RectF b)

    断定两个RectF对象是否订交。

    * Region

    * 感化

    组合的不规矩区域。

    比Rect更灵活,可以用.op()执步履态操纵。

    * 公开域

    public static final Creator<Region>CREATOR

    * 机关

    Region()

    创建空的不规矩区域

    Region(int left, int top, int right, int bottom)

    指定区域的机关

    Region(Region region)

    复制机关

    Region(Rect r)

    Rect复制机关

    * 实例办法

    String toString()

    返回字符串情势,用于调试

    boolean equals(Object obj)

    值斗劲

    void setEmpty()

    设置为空区域

    boolean set(Rect r)

    Rect赋值

    boolean set(int left, int top, int right, int bottom)

    指定坐标赋值

    boolean set(Region region)

    复制赋值

    boolean isEmpty()

    判读是否为空

    boolean isRect()

    断定是否只有一个矩形

    boolean isComplex()

    断定是否多于一个矩形

    boolean contains(int x, int y)

    断定是否包含二维坐标

    boolean quickContains(int left, int top, int right, int bottom)

    断定单一矩形(非错杂)区域是否包含指定坐标的区域

    boolean quickContains(Rect r)

    断定单一矩形(非错杂)区域是否包含指定Region对象的区域

    boolean quickReject(int left, int top, int right, int bottom)

    断定this是否不包含指定坐标的区域或为空Region

    boolean quickReject(Region rgn)

    断定this是否不包含指定Region的区域或为空Region

    boolean quickReject(Rect r)

    断定this是否不包含指定Rect的区域或为空Region

    boolean op(Rect r, Region.Op op)

    与Rect对象履行指定操纵。

    boolean op(int left, int top, int right, int bottom, Region.Op op)

    与矩形区域履行指定操纵。

    boolean op(Region region, Region.Op op)

    与Region对象履行指定操纵。

    boolean op(Rect rect, Region region, Region.Op op)

    Rect与Region对象履行指定操纵,然后赋值到this。

    boolean op(Region region1, Region region2, Region.Op op)

    Region与Region对象履行指定操纵,然后赋值到this。

    void translate(int dx, int dy)

    this偏移(dx, dy)

    void translate(int dx, int dy, Region dst)

    this的偏移(dx, dy)赋给dst区域,但不批改this。

    final boolean union(Rect r)

    与Rect对象取并

    Rect getBounds()

    把轮廓转换为Rect对象。

    boolean getBounds(Rect r)

    指定Rect对象给this作为轮廓。

    Path getBoundaryPath()

    把轮廓转换为Path对象。

    boolean getBoundaryPath(Path path)

    指定Path对象给this作为轮廓。

    boolean setPath(Path path, Region clip)

    用Path对象和Region对象同时设置this。

    int describeContents()

    描述在这个可封包的列集发挥解析中的特别对象类型(?)。

    void writeToParcel(Parcel p, int flags)

    把this及其像素写到Parcel对象上。

    * Region.Op

    * 感化

    用于Region.op(),动态指定区域操纵。

    * 静态办法

    static Region.Op valueOf(String name)

    final static Op[] values()

    * 列举值

    Region.Op UNION

    Region.Op XOR

    异或(?)

    Region.Op DIFFERENCE

    Region.Op INTERSECT

    Region.Op REPLACE

    调换(?)

    Region.Op REVERSE_DIFFERENCE

    反差(?)

    * RegionIterator

    * 感化

    遍历组合区域的所有二维子区域

    * 机关

    RegionIterator(Region region)

    * 实例办法

    final boolean next(Rect r)

    返回不规矩区域的下一个矩形区域;

    用while轮回取出Rect对象,然后调用Canvas.drawRect绘画。

    ?

    * 几何图元

    * ArcShape

    * OvalShape

    * PathShape

    * RectShape

    * RoundRectShape

    * Shape

    * 绘画代办代理

    * BitmapDrawable

    * ColorDrawable

    * Drawable

    * GradientDrawable

    * GradientDrawable.Orientation

    * PaintDrawable

    * PictureDrawable

    * ShapeDrawable

    * 例子中未呈现

    * 绘画图元

    * YuvImage

    * 非几何信息

    * ImageFormat

    * 滤镜

    * LightingColorFilter

    * 着色器

    * ComposeShader

    * 结果

    * SumPathEffect

    * 异常

    * SurfaceTexture.OutOfResourcesException

    * 几何属性

    * Interpolator

    * 感化

    插值器(较少应用)

    * 机关

    Interpolator(int valueCount)

    Interpolator(int valueCount, int frameCount)

    * 实例办法

    final int getKeyFrameCount()

    获取关键帧数量

    final int getValueCount()

    获取值数量

    void reset(int valueCount)

    重置插值器,使其拥有指定个数的值和两个关键帧(开端和停止)

    void reset(int valueCount, int frameCount)

    重置插值器,使其拥有指定个数的值和关键帧

    void setKeyFrame(int index, int msec, float[] values, float[] blend)

    Assign the keyFrame (specified by index) a time value and an array of key values and blend array.

    void setKeyFrame(int index, int msec, float[] values)

    Assign the keyFrame (specified by index) a time value and an array of key values (with an implicity blend array of [0, 0, 1, 1] giving linear transition to the next set of key values).

    void setRepeatMirror(float repeatCount, boolean mirror)

    Set a repeat count (which may be fractional) for the interpolator, and whether the interpolator should mirror its repeats.

    Interpolator.Result timeToValues(float[] values)

    Calls timeToValues(msec, values) with the msec set to now (by calling (int)SystemClock.uptimeMillis().)

    Interpolator.Result timeToValues(int msec, float[] values)

    Given a millisecond time value (msec), return the interpolated values and return whether the specified time was within the range of key times (NORMAL), was before the first key time (FREEZE_START) or after the last key time (FREEZE_END).

    * 绘画代办代理

    * AnimationDrawable

    * ClipDrawable

    * Drawable.ConstantState

    * DrawableContainer

    * DrawableContainer.DrawableContainerState

    * InsetDrawable

    * LayerDrawable

    * LevelListDrawable

    * NinePatchDrawable

    * RotateDrawable

    * ScaleDrawable

    * ShapeDrawable.ShaderFactory

    * StateListDrawable

    * TransitionDrawable

    * Animatable

    * Drawable.Callback

    * 未分类

    * AvoidXfermode

    * LayerRasterizer

    * Paint.FontMetricsInt

    * PathMeasure

    * PixelXorXfermode

    * Rasterizer

    * SurfaceTexture

    * SurfaceTexture.OnFrameAvailableListener

    * AvoidXfermode.Mode

    * Canvas.EdgeType

    * Interpolator.Result

  • 相关阅读:
    CodeForces 670E Correct Bracket Sequence Editor
    CodeForces 670F Restore a Number
    HDU 5895 Mathematician QSC
    HDU 5880 Family View
    HDU 5886 Tower Defence
    CSS3.16
    CSS页面定制代码+动漫人物设计
    TSP变形(三进制状压)
    三进制状压(涂抹果酱)
    最小点覆盖(König定理)
  • 原文地址:https://www.cnblogs.com/622698abc/p/2963235.html
Copyright © 2011-2022 走看看