package jas2.util.moverlayeredpane;

import java.awt.Rectangle;

public class MLPHandle extends Rectangle
{
	public MLPHandle(int size) {
		setSize(size-1,size-1);
		thick2 = size/2;
	}
	public void set(int type, int x, int y) {
		setLocation(x - thick2, y - thick2);
		this.type = type;
	}
	public int getCursor() {
		return type;
	}
	private int thick2;
	private int type;
}

 

Ads help maintain this website.