Search Results for

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

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class CropCoordinates : IEquatable<ImageUrlGenerationOptions.CropCoordinates>

    Constructors

    View Source

    CropCoordinates(Decimal, Decimal, Decimal, Decimal)

    Declaration
    public CropCoordinates(decimal left, decimal top, decimal right, decimal bottom)
    Parameters
    Type Name Description
    System.Decimal left
    System.Decimal top
    System.Decimal right
    System.Decimal bottom

    Properties

    View Source

    Bottom

    Declaration
    public decimal Bottom { get; }
    Property Value
    Type Description
    System.Decimal
    View Source

    Left

    Declaration
    public decimal Left { get; }
    Property Value
    Type Description
    System.Decimal
    View Source

    Right

    Declaration
    public decimal Right { get; }
    Property Value
    Type Description
    System.Decimal
    View Source

    Top

    Declaration
    public decimal Top { get; }
    Property Value
    Type Description
    System.Decimal

    Methods

    View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    View Source

    Equals(ImageUrlGenerationOptions.CropCoordinates)

    Declaration
    public bool Equals(ImageUrlGenerationOptions.CropCoordinates other)
    Parameters
    Type Name Description
    ImageUrlGenerationOptions.CropCoordinates other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CropCoordinates(Decimal, Decimal, Decimal, Decimal)
    • Properties
      • Bottom
      • Left
      • Right
      • Top
    • Methods
      • Equals(Object)
      • Equals(ImageUrlGenerationOptions.CropCoordinates)
      • GetHashCode()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX