Code example for Point

Methods: set

0
		return bounds;
	} 
	 
	//GET CENTER POINT OF PHYSICAL VIEW 
	private Point getCenterPoint(){
		Point out = new Point();
		 
		if(vWidth == 0 || vHeight ==0)
			out = null;
		else 
			out.set(vWidth/2, vHeight/2);
		 
		return out;
	} 
	 
	//TRANSLATE VIEW TO CENTER OVER NODE n 
	public synchronized void setCenterPoint(Node n){
		Point centerPoint;
		float currentX, currentY;
		int nodeX = (int)-1*n.getX();
		int nodeY = (int)-1*n.getY();