Class ImageCropCoordinates
Inheritance
System.Object
System.Dynamic.DynamicObject
Namespace:System.Dynamic.ExpandoObject
Assembly:umbraco.dll
Syntax
[DataContract(Name = "imageCropCoordinates")]
public class ImageCropCoordinates : CaseInsensitiveDynamicObject<ImageCropCoordinates>, IDynamicMetaObjectProvider, IEquatable<ImageCropCoordinates>
Properties
X1
Declaration
[DataMember(Name = "x1")]
public decimal X1 { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
X2
Declaration
[DataMember(Name = "x2")]
public decimal X2 { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
Y1
Declaration
[DataMember(Name = "y1")]
public decimal Y1 { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
Y2
Declaration
[DataMember(Name = "y2")]
public decimal Y2 { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
Methods
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
The object to compare with the current object.
|
Returns
Type |
Description |
System.Boolean |
true if the specified object is equal to the current object; otherwise, false.
|
Equals(ImageCropCoordinates)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ImageCropCoordinates other)
Parameters
Returns
Type |
Description |
System.Boolean |
true if the current object is equal to the other parameter; otherwise, false.
|
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
A hash code for the current object.
|
Operators
Equality(ImageCropCoordinates, ImageCropCoordinates)
Declaration
public static bool operator ==(ImageCropCoordinates left, ImageCropCoordinates right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(ImageCropCoordinates, ImageCropCoordinates)
Declaration
public static bool operator !=(ImageCropCoordinates left, ImageCropCoordinates right)
Parameters
Returns
Type |
Description |
System.Boolean |
|