blob: 63a84afb1ba904574f431548cee2a5ea03efca61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/* Cropping.cs $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr>.
It may be used under the terms of the GNU General Public License. */
namespace Handbrake.Model
{
/// <summary>
/// Cropping T B L R
/// </summary>
public class Cropping
{
/// <summary>
/// Gets or sets Top.
/// </summary>
public int Top { get; set; }
/// <summary>
/// Gets or sets Bottom.
/// </summary>
public int Bottom { get; set; }
/// <summary>
/// Gets or sets Left.
/// </summary>
public int Left { get; set; }
/// <summary>
/// Gets or sets Right.
/// </summary>
public int Right { get; set; }
/// <summary>
/// Create a cropping object
/// </summary>
/// <param name="top">
/// The top.
/// </param>
/// <param name="bottom">
/// The bottom.
/// </param>
/// <param name="left">
/// The left.
/// </param>
/// <param name="right">
/// The right.
/// </param>
/// <returns>
/// A Cropping object
/// </returns>
public static Cropping CreateCroppingObject(int top, int bottom, int left, int right)
{
return new Cropping { Top = top, Bottom = bottom, Left = left, Right = right };
}
}
}
|