Search Results for

    Show / Hide Table of Contents
    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.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.PropertyEditors.ValueConverters
    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
    Type Description
    decimal
    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
    Type Description
    decimal

    Methods

    View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    View Source

    Equals(ImageCropperFocalPoint?)

    Declaration
    public bool Equals(ImageCropperValue.ImageCropperFocalPoint? other)
    Parameters
    Type Name Description
    ImageCropperValue.ImageCropperFocalPoint other
    Returns
    Type Description
    bool
    View Source

    GetHashCode()

    Returns a hash code for this instance, based on the Left and Top properties.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current ImageCropperValue.ImageCropperFocalPoint object.

    Operators

    View Source

    operator ==(ImageCropperFocalPoint, ImageCropperFocalPoint)

    Declaration
    public static bool operator ==(ImageCropperValue.ImageCropperFocalPoint left, ImageCropperValue.ImageCropperFocalPoint right)
    Parameters
    Type Name Description
    ImageCropperValue.ImageCropperFocalPoint left
    ImageCropperValue.ImageCropperFocalPoint right
    Returns
    Type Description
    bool
    View Source

    operator !=(ImageCropperFocalPoint, ImageCropperFocalPoint)

    Declaration
    public static bool operator !=(ImageCropperValue.ImageCropperFocalPoint left, ImageCropperValue.ImageCropperFocalPoint right)
    Parameters
    Type Name Description
    ImageCropperValue.ImageCropperFocalPoint left
    ImageCropperValue.ImageCropperFocalPoint right
    Returns
    Type Description
    bool
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX