View Source
Class ImageCropperValue.ImageCropperCrop
Represents a crop area defined within an image for the image cropper value.
Contains information about the position and dimensions of the crop.
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ImageCropperValue.ImageCropperCrop
Constructors
View Source
ImageCropperCrop()
Declaration
public ImageCropperCrop()
Properties
View Source
Alias
Gets or sets the alias of the image crop.
Declaration
public string? Alias { get; set; }
Property Value
View Source
Coordinates
Gets or sets the coordinates for the image crop.
Declaration
public ImageCropperValue.ImageCropperCropCoordinates? Coordinates { get; set; }
Property Value
View Source
Height
Gets or sets the height of the image crop.
Declaration
public int Height { get; set; }
Property Value
View Source
Width
Gets or sets the width of the image crop.
Declaration
public int Width { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
View Source
Equals(ImageCropperCrop?)
Declaration
public bool Equals(ImageCropperValue.ImageCropperCrop? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code representing the current crop's state.
|
Operators
View Source
operator ==(ImageCropperCrop?, ImageCropperCrop?)
Declaration
public static bool operator ==(ImageCropperValue.ImageCropperCrop? left, ImageCropperValue.ImageCropperCrop? right)
Parameters
Returns
View Source
operator !=(ImageCropperCrop?, ImageCropperCrop?)
Declaration
public static bool operator !=(ImageCropperValue.ImageCropperCrop? left, ImageCropperValue.ImageCropperCrop? right)
Parameters
Returns