divide Point - Android java.lang

Android examples for java.lang:Math Geometry

Description

divide Point

Demo Code


//package com.java2s;

import android.graphics.Point;

public class Main {
    public static Point dividePoint(Point a, int b) {
        return new Point(a.x / b, a.y / b);
    }//from  w w  w .  j  a  v  a 2  s.  c  om
}

Related Tutorials