Android examples for java.lang:Math Geometry
subtract PointF
//package com.java2s; import android.graphics.Point; import android.graphics.PointF; public class Main { public static PointF subtractPointFP(PointF a, Point b) { return new PointF(a.x - b.x, a.y - b.y); }/*from ww w. j a va 2 s . com*/ }