View Source
Class ImageCropperValue.ImageCropperFocalPoint
Represents the focal point coordinates (typically X and Y values) used by the image cropper to determine the main area of interest within an image.
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ImageCropperValue.ImageCropperFocalPoint
Constructors
View Source
ImageCropperFocalPoint()
Declaration
public ImageCropperFocalPoint()
Properties
View Source
Left
Gets or sets the left coordinate of the focal point.
Declaration
public decimal Left { get; set; }
Property Value
View Source
Top
Gets or sets the vertical (top) coordinate of the focal point within the image cropper.
Declaration
public decimal Top { 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(ImageCropperFocalPoint?)
Declaration
public bool Equals(ImageCropperValue.ImageCropperFocalPoint? other)
Parameters
Returns
View Source
GetHashCode()
Returns a hash code for this instance, based on the Left and Top properties.
Declaration
public override int GetHashCode()
Returns
Operators
View Source
operator ==(ImageCropperFocalPoint, ImageCropperFocalPoint)
Declaration
public static bool operator ==(ImageCropperValue.ImageCropperFocalPoint left, ImageCropperValue.ImageCropperFocalPoint right)
Parameters
Returns
View Source
operator !=(ImageCropperFocalPoint, ImageCropperFocalPoint)
Declaration
public static bool operator !=(ImageCropperValue.ImageCropperFocalPoint left, ImageCropperValue.ImageCropperFocalPoint right)
Parameters
Returns