Build m5-rc15

android.graphics
Class RectF

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

public class RectF
extends Object


Field Summary
 float bottom
           
 float left
           
 float right
           
 float top
           
 
Constructor Summary
RectF()
           
RectF(float left, float top, float right, float bottom)
           
RectF(Rect r)
           
RectF(RectF r)
           
 
Method Summary
 float centerX()
           
 float centerY()
           
 boolean contains(float x, float y)
           
 boolean contains(float left, float top, float right, float bottom)
           
 boolean contains(RectF r)
           
 float height()
           
 void inset(float dx, float dy)
           
 boolean intersect(float left, float top, float right, float bottom)
           
 boolean intersect(RectF r)
           
 boolean intersects(float left, float top, float right, float bottom)
           
static boolean intersects(RectF a, RectF b)
           
 boolean isEmpty()
           
 void offset(float dx, float dy)
           
 void offsetTo(float newLeft, float newTop)
           
 void round(Rect dst)
           
 void roundOut(Rect dst)
           
 void set(float left, float top, float right, float bottom)
           
 void set(Rect src)
           
 void set(RectF src)
           
 void setEmpty()
           
 boolean setIntersect(RectF a, RectF b)
           
 void sort()
           
 String toString()
           
 void union(float left, float top, float right, float bottom)
           
 void union(RectF r)
           
 float width()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

left

public float left

top

public float top

right

public float right

bottom

public float bottom
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

toString

public String toString()
Overrides:
toString in class Object

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)

sort

public void sort()

Build m5-rc15

Please submit a feedback, bug or feature