android.graphics
Class Point

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

public class Point
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<Point> CREATOR
           
 int x
           
 int y
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
Point()
           
Point(int x, int y)
           
Point(Point src)
           
 
Method Summary
 int describeContents()
           
 boolean equals(int x, int y)
           
 boolean equals(Object o)
           
 int hashCode()
           
 void negate()
           
 void offset(int dx, int dy)
           
 void readFromParcel(Parcel in)
           
 void set(int x, int y)
           
 String toString()
           
 void writeToParcel(Parcel out, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x

y

public int y

CREATOR

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

Point

public Point()

Point

public Point(int x,
             int y)

Point

public Point(Point src)
Method Detail

set

public void set(int x,
                int y)

negate

public final void negate()

offset

public final void offset(int dx,
                         int dy)

equals

public final boolean equals(int x,
                            int y)

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

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.