-
public class MPPointF extends ObjectPool.Poolable
Created by Tony Patino on 6/24/16.
-
-
Field Summary
Fields Modifier and Type Field Description public floatxpublic floatypublic final static Parcelable.Creator<MPPointF>CREATOR
-
Method Summary
Modifier and Type Method Description floatgetX()floatgetY()static MPPointFgetInstance(float x, float y)static MPPointFgetInstance()static MPPointFgetInstance(MPPointF copy)static voidrecycleInstance(MPPointF instance)static voidrecycleInstances(List<MPPointF> instances)voidmy_readFromParcel(Parcel in)Set the point's coordinates from the data stored in the specifiedparcel. -
-
Method Detail
-
getX
float getX()
-
getY
float getY()
-
getInstance
static MPPointF getInstance(float x, float y)
-
getInstance
static MPPointF getInstance()
-
getInstance
static MPPointF getInstance(MPPointF copy)
-
recycleInstance
static void recycleInstance(MPPointF instance)
-
recycleInstances
static void recycleInstances(List<MPPointF> instances)
-
my_readFromParcel
void my_readFromParcel(Parcel in)
Set the point's coordinates from the data stored in the specifiedparcel. To write a point to a parcel, call writeToParcel().Provided to support older Android devices.
- Parameters:
in- The parcel to read the point's coordinates from
-
-
-
-