SizeChangeEventpublic class SizeChangeEvent extends FormatChangeEvent Event which indicates that the input video has changed in size and the video
renderer needs to be resized to specified size. Also includes the scale to
which the video is going to be zoomed. |
Fields Summary |
---|
protected int | width | protected int | height | protected float | scale |
Constructors Summary |
---|
public SizeChangeEvent(Controller from, int width, int height, float scale)
super(from);
this.width = width;
this.height = height;
this.scale = scale;
|
Methods Summary |
---|
public int | getHeight()Get the new height of the video input.
return height;
| public float | getScale()Get the new scale to which the video is being zoomed.
return scale;
| public int | getWidth()Get the new width of the video input.
return width;
|
|