/*$cb
 *    This file is a part of libopenmhp.
 *
 *    Copyright (C) 2005 Mikko Novaro <miknov@gmail.com>
 *
 *    See main header file (libopenmhp/openmhp.h) for licensing and
 *    contact information.
 $ce*/

package libopenmhp.message;

public class VideoScale extends Message {

    private int x, y, wdth, hght;

    public VideoScale(int posX, int posY, int width, int height) {
	x = posX;
	y = posY;
	wdth = width;
	hght = height;
    }

    public String toString() {
	return "<videoscale><videoposx>"+x+"</videoposx><videoposy>"+y+"</videoposy><videowidth>"+wdth+"</videowidth><videoheight>"+hght+"</videoheight></videoscale>";
    }

}
