Search Results for

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

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

    Coordinates

    Gets or sets the coordinates for the image crop.

    Declaration
    public ImageCropperValue.ImageCropperCropCoordinates? Coordinates { get; set; }
    Property Value
    Type Description
    ImageCropperValue.ImageCropperCropCoordinates
    View Source

    Height

    Gets or sets the height of the image crop.

    Declaration
    public int Height { get; set; }
    Property Value
    Type Description
    int
    View Source

    Width

    Gets or sets the width of the image crop.

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    int

    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(ImageCropperCrop?)

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

    GetHashCode()

    Returns a hash code for this ImageCropperValue.ImageCropperCrop instance, based on its properties.

    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
    Type Name Description
    ImageCropperValue.ImageCropperCrop left
    ImageCropperValue.ImageCropperCrop right
    Returns
    Type Description
    bool
    View Source

    operator !=(ImageCropperCrop?, ImageCropperCrop?)

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