subtract Point - Android java.lang

Android examples for java.lang:Math Geometry

Description

subtract Point

Demo Code


//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*/
}

Related Tutorials