subtract PointF - Android java.lang

Android examples for java.lang:Math Geometry

Description

subtract PointF

Demo Code


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

Related Tutorials