@Override
	public void setFrame(double x, double y, double width, double height) {
		if (width < 0) {
			width = 0;
		}
		if (height < 0) {
			height = 0;
		}
		if (width != height) {
			mRadius = Math.min(width, height) / 2;
			mX = x + mRadius + (width / 2 - mRadius);
			mY = y + mRadius + (height / 2 - mRadius);
		} else {
			mRadius = width / 2;
			mX = x + mRadius;
			mY = y + mRadius;
		}
	}