2 This file is part of the HandBrake source code.
\r
3 Homepage: <http://handbrake.fr>.
\r
4 It may be used under the terms of the GNU General Public License. */
\r
6 namespace HandBrake.ApplicationServices.Model
\r
11 public class Cropping
\r
14 /// Gets or sets Top.
\r
16 public int Top { get; set; }
\r
19 /// Gets or sets Bottom.
\r
21 public int Bottom { get; set; }
\r
24 /// Gets or sets Left.
\r
26 public int Left { get; set; }
\r
29 /// Gets or sets Right.
\r
31 public int Right { get; set; }
\r
34 /// Create a cropping object
\r
36 /// <param name="top">
\r
39 /// <param name="bottom">
\r
42 /// <param name="left">
\r
45 /// <param name="right">
\r
49 /// A Cropping object
\r
51 public static Cropping CreateCroppingObject(int top, int bottom, int left, int right)
\r
53 return new Cropping { Top = top, Bottom = bottom, Left = left, Right = right };
\r