ffmpeg-mappable-media/src/FFMpeg/Coordinate/Point.php

41 lines
614 B
PHP
Raw Normal View History

2013-06-25 10:03:20 +02:00
<?php
/*
* This file is part of PHP-FFmpeg.
*
* (c) Alchemy <info@alchemy.fr>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FFMpeg\Coordinate;
class Point
{
private $x;
2013-06-25 10:40:20 +02:00
private $y;
2013-06-25 10:03:20 +02:00
public function __construct($x, $y)
{
$this->x = (int) $x;
$this->y = (int) $y;
}
/**
* @return integer
*/
public function getX()
{
return $this->x;
}
/**
* @return integer
*/
public function getY()
{
return $this->y;
}
}