summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrakeInterop/Model
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/Model')
-rw-r--r--win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs51
1 files changed, 45 insertions, 6 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs
index e13c9daff..8e6e6c1f5 100644
--- a/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs
+++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Model/Cropping.cs
@@ -9,7 +9,10 @@
namespace HandBrake.Interop.Model
{
- public class Cropping
+ /// <summary>
+ /// The Cropping Model
+ /// </summary>
+ public class Cropping
{
/// <summary>
/// Initializes a new instance of the <see cref="Cropping"/> class.
@@ -19,6 +22,21 @@ namespace HandBrake.Interop.Model
}
/// <summary>
+ /// Initializes a new instance of the <see cref="Cropping"/> class.
+ /// Copy Constructor
+ /// </summary>
+ /// <param name="croping">
+ /// The croping.
+ /// </param>
+ public Cropping(Cropping croping)
+ {
+ this.Top = croping.Top;
+ this.Bottom = croping.Bottom;
+ this.Left = croping.Left;
+ this.Right = croping.Right;
+ }
+
+ /// <summary>
/// Initializes a new instance of the <see cref="Cropping"/> class.
/// </summary>
/// <param name="top">
@@ -41,12 +59,33 @@ namespace HandBrake.Interop.Model
this.Right = right;
}
- public int Top { get; set; }
- public int Bottom { get; set; }
- public int Left { get; set; }
- public int Right { get; set; }
+ /// <summary>
+ /// Gets or sets Top.
+ /// </summary>
+ public int Top { get; set; }
- public Cropping Clone()
+ /// <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>
+ /// Clone this model
+ /// </summary>
+ /// <returns>
+ /// A Cloned copy
+ /// </returns>
+ public Cropping Clone()
{
return new Cropping
{