scratch – Blame information for rev 115

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 1 <?php
2  
3 /*
4 * This file is part of PHP-FFmpeg.
5 *
6 * (c) Alchemy <info@alchemy.fr>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11  
12 namespace FFMpeg\Coordinate;
13  
14 class Point
15 {
16 private $x;
17 private $y;
18  
19 public function __construct($x, $y)
20 {
21 $this->x = (int) $x;
22 $this->y = (int) $y;
23 }
24  
25 /**
26 * @return integer
27 */
28 public function getX()
29 {
30 return $this->x;
31 }
32  
33 /**
34 * @return integer
35 */
36 public function getY()
37 {
38 return $this->y;
39 }
40 }