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 and 100.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class CropCoordinates
Constructors
View Source
CropCoordinates(Decimal, Decimal, Decimal, Decimal)
Declaration
public CropCoordinates(decimal x1, decimal y1, decimal x2, decimal y2)
Parameters
Type |
Name |
Description |
System.Decimal |
x1 |
|
System.Decimal |
y1 |
|
System.Decimal |
x2 |
|
System.Decimal |
y2 |
|
Properties
View Source
X1
Declaration
public decimal X1 { get; }
Property Value
Type |
Description |
System.Decimal |
|
View Source
X2
Declaration
public decimal X2 { get; }
Property Value
Type |
Description |
System.Decimal |
|
View Source
Y1
Declaration
public decimal Y1 { get; }
Property Value
Type |
Description |
System.Decimal |
|
View Source
Y2
Declaration
public decimal Y2 { get; }
Property Value
Type |
Description |
System.Decimal |
|