Android examples for java.lang:Math Geometry
subtract Point
//package com.java2s; import android.graphics.Point; public class Main { public static Point subtractPoint(Point a, Point b) { return new Point(a.x - b.x, a.y - b.y); }/*www. j a v a 2 s .c o m*/ }