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 : object
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 |
|