View Source
Class ImageUrlGenerationOptions.CropCoordinates
The bounds of the crop within the original image, in whatever units the registered IImageUrlGenerator uses,
typically a percentage between 0.0 and 1.0.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class CropCoordinates : IEquatable<ImageUrlGenerationOptions.CropCoordinates>
Constructors
View Source
CropCoordinates(Decimal, Decimal, Decimal, Decimal)
Declaration
public CropCoordinates(decimal left, decimal top, decimal right, decimal bottom)
Parameters
Type |
Name |
Description |
System.Decimal |
left |
|
System.Decimal |
top |
|
System.Decimal |
right |
|
System.Decimal |
bottom |
|
Properties
View Source
Bottom
Declaration
public decimal Bottom { get; }
Property Value
Type |
Description |
System.Decimal |
|
View Source
Left
Declaration
public decimal Left { get; }
Property Value
Type |
Description |
System.Decimal |
|
View Source
Right
Declaration
public decimal Right { get; }
Property Value
Type |
Description |
System.Decimal |
|
View Source
Top
Declaration
public decimal Top { get; }
Property Value
Type |
Description |
System.Decimal |
|
Methods
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Equals(ImageUrlGenerationOptions.CropCoordinates)
Declaration
public bool Equals(ImageUrlGenerationOptions.CropCoordinates other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|