android.graphics
Class RectF

java.lang.Object  extended by android.graphics.RectF
All Implemented Interfaces:
Parcelable

public class RectF
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
 floatbottom
           
static Parcelable.Creator<RectF>CREATOR
           
 floatleft
           
 floatright
           
 floattop
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
RectF()
           
RectF(float left, float top, float right, float bottom)
           
RectF(Rect r)
           
RectF(RectF r)
           
 
Method Summary
 floatcenterX()
           
 floatcenterY()
           
 booleancontains(float x, float y)
           
 booleancontains(float left, float top, float right, float bottom)
           
 booleancontains(RectF r)
           
 intdescribeContents()
           
 booleanequals(Object o)
           
 inthashCode()
           
 floatheight()
           
 voidinset(float dx, float dy)
           
 booleanintersect(float left, float top, float right, float bottom)
           
 booleanintersect(RectF r)
           
 booleanintersects(float left, float top, float right, float bottom)
           
static booleanintersects(RectF a, RectF b)
           
 booleanisEmpty()
           
 voidoffset(float dx, float dy)
           
 voidoffsetTo(float newLeft, float newTop)
           
 voidreadFromParcel(Parcel in)
           
 voidround(Rect dst)
           
 voidroundOut(Rect dst)
           
 voidset(float left, float top, float right, float bottom)
           
 voidset(Rect src)
           
 voidset(RectF src)
           
 voidsetEmpty()
           
 booleansetIntersect(RectF a, RectF b)
           
 voidsort()
           
 StringtoShortString()
           
 StringtoString()
           
 voidunion(float x, float y)
           
 voidunion(float left, float top, float right, float bottom)
           
 voidunion(RectF r)
           
 floatwidth()
           
 voidwriteToParcel(Parcel out, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

left

public float left

top

public float top

right

public float right

bottom

public float bottom

CREATOR

public static final Parcelable.Creator<RectF> CREATOR
Constructor Detail

RectF

public RectF()

RectF

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

RectF

public RectF(RectF r)

RectF

public RectF(Rect r)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

toShortString

public String toShortString()

isEmpty

public final boolean isEmpty()

width

public final float width()

height

public final float height()

centerX

public final float centerX()

centerY

public final float centerY()

setEmpty

public void setEmpty()

set

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

set

public void set(RectF src)

set

public void set(Rect src)

offset

public void offset(float dx,                   float dy)

offsetTo

public void offsetTo(float newLeft,                     float newTop)

inset

public void inset(float dx,                  float dy)

contains

public boolean contains(float x,                        float y)

contains

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

contains

public boolean contains(RectF r)

intersect

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

intersect

public boolean intersect(RectF r)

setIntersect

public boolean setIntersect(RectF a,                            RectF b)

intersects

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

intersects

public static boolean intersects(RectF a,                                 RectF b)

round

public void round(Rect dst)

roundOut

public void roundOut(Rect dst)

union

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

union

public void union(RectF r)

union

public void union(float x,                  float y)

sort

public void sort()

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel out,                          int flags)
Specified by:
writeToParcel in interface Parcelable

readFromParcel

public void readFromParcel(Parcel in)


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