All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kurento.module.chroma.WindowParam Maven / Gradle / Ivy

There is a newer version: 7.1.0
Show newest version
/**
 * This file is generated with Kurento ktool-rom-processor.
 * Please don't edit. Changes should go to kms-interface-rom and
 * ktool-rom-processor templates.
 */
package org.kurento.module.chroma;

/**
 *
 * Parameter representing a window in a video stream.
 * It is used in command and constructor for media elements.
 * All units are in pixels, X runs from left to right, Y from top to bottom.
 *
 **/
@org.kurento.client.internal.ModuleName ("chroma")
public class WindowParam  {

/**
 *
 * X coordinate of the left upper point of the window
 *
 **/
    private int topRightCornerX;
/**
 *
 * Y coordinate of the left upper point of the window
 *
 **/
    private int topRightCornerY;
/**
 *
 * width in pixels of the window
 *
 **/
    private int width;
/**
 *
 * height in pixels of the window
 *
 **/
    private int height;

/**
 *
 * Create a WindowParam
 *
 **/
    public WindowParam(@org.kurento.client.internal.server.Param("topRightCornerX") int topRightCornerX, @org.kurento.client.internal.server.Param("topRightCornerY") int topRightCornerY, @org.kurento.client.internal.server.Param("width") int width, @org.kurento.client.internal.server.Param("height") int height) {

	super();

        this.topRightCornerX = topRightCornerX;
        this.topRightCornerY = topRightCornerY;
        this.width = width;
        this.height = height;
    }

/**
 *
 * get X coordinate of the left upper point of the window
 *
 **/
    public int getTopRightCornerX(){
    	return topRightCornerX;
    }

/**
 *
 * set X coordinate of the left upper point of the window
 *
 **/
    public void setTopRightCornerX(int topRightCornerX){
    	this.topRightCornerX = topRightCornerX;
    }

/**
 *
 * get Y coordinate of the left upper point of the window
 *
 **/
    public int getTopRightCornerY(){
    	return topRightCornerY;
    }

/**
 *
 * set Y coordinate of the left upper point of the window
 *
 **/
    public void setTopRightCornerY(int topRightCornerY){
    	this.topRightCornerY = topRightCornerY;
    }

/**
 *
 * get width in pixels of the window
 *
 **/
    public int getWidth(){
    	return width;
    }

/**
 *
 * set width in pixels of the window
 *
 **/
    public void setWidth(int width){
    	this.width = width;
    }

/**
 *
 * get height in pixels of the window
 *
 **/
    public int getHeight(){
    	return height;
    }

/**
 *
 * set height in pixels of the window
 *
 **/
    public void setHeight(int height){
    	this.height = height;
    }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy