android.graphics
Class Path

java.lang.Object  extended by android.graphics.Path

public class Path
extends Object


Nested Class Summary
static classPath.Direction
           
static classPath.FillType
           
 
Constructor Summary
Path()
           
Path(Path src)
           
 
Method Summary
 voidaddArc(RectF oval, float startAngle, float sweepAngle)
           
 voidaddCircle(float x, float y, float radius, Path.Direction dir)
           
 voidaddOval(RectF oval, Path.Direction dir)
           
 voidaddPath(Path src)
           
 voidaddPath(Path src, float dx, float dy)
           
 voidaddPath(Path src, Matrix matrix)
           
 voidaddRect(float left, float top, float right, float bottom, Path.Direction dir)
           
 voidaddRect(RectF rect, Path.Direction dir)
           
 voidaddRoundRect(RectF rect, float[] radii, Path.Direction dir)
           
 voidaddRoundRect(RectF rect, float rx, float ry, Path.Direction dir)
           
 voidarcTo(RectF oval, float startAngle, float sweepAngle)
           
 voidarcTo(RectF oval, float startAngle, float sweepAngle, boolean forceMoveTo)
           
 voidclose()
           
 voidcomputeBounds(RectF bounds, boolean exact)
           
 voidcubicTo(float x1, float y1, float x2, float y2, float x3, float y3)
           
protected  voidfinalize()
           
 Path.FillTypegetFillType()
           
 voidincReserve(int extraPtCount)
           
 booleanisEmpty()
           
 booleanisInverseFillType()
           
 booleanisRect(RectF rect)
           
 voidlineTo(float x, float y)
           
 voidmoveTo(float x, float y)
           
 voidoffset(float dx, float dy)
           
 voidoffset(float dx, float dy, Path dst)
           
 voidquadTo(float x1, float y1, float x2, float y2)
           
 voidrCubicTo(float x1, float y1, float x2, float y2, float x3, float y3)
           
 voidreset()
           
 voidrewind()
           
 voidrLineTo(float dx, float dy)
           
 voidrMoveTo(float dx, float dy)
           
 voidrQuadTo(float dx1, float dy1, float dx2, float dy2)
           
 voidset(Path src)
           
 voidsetFillType(Path.FillType ft)
           
 voidsetLastPoint(float dx, float dy)
           
 voidtoggleInverseFillType()
           
 voidtransform(Matrix matrix)
           
 voidtransform(Matrix matrix, Path dst)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path()

Path

public Path(Path src)
Method Detail

reset

public void reset()

rewind

public void rewind()

set

public void set(Path src)

getFillType

public Path.FillType getFillType()

setFillType

public void setFillType(Path.FillType ft)

isInverseFillType

public boolean isInverseFillType()

toggleInverseFillType

public void toggleInverseFillType()

isEmpty

public boolean isEmpty()

isRect

public boolean isRect(RectF rect)

computeBounds

public void computeBounds(RectF bounds,                          boolean exact)

incReserve

public void incReserve(int extraPtCount)

moveTo

public void moveTo(float x,                   float y)

rMoveTo

public void rMoveTo(float dx,                    float dy)

lineTo

public void lineTo(float x,                   float y)

rLineTo

public void rLineTo(float dx,                    float dy)

quadTo

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

rQuadTo

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

cubicTo

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

rCubicTo

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

arcTo

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

arcTo

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

close

public void close()

addRect

public void addRect(RectF rect,                    Path.Direction dir)

addRect

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

addOval

public void addOval(RectF oval,                    Path.Direction dir)

addCircle

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

addArc

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

addRoundRect

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

addRoundRect

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

addPath

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

addPath

public void addPath(Path src)

addPath

public void addPath(Path src,                    Matrix matrix)

offset

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

offset

public void offset(float dx,                   float dy)

setLastPoint

public void setLastPoint(float dx,                         float dy)

transform

public void transform(Matrix matrix,                      Path dst)

transform

public void transform(Matrix matrix)

finalize

protected void finalize()                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2008-2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14