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 and 100.

    Inheritance
    System.Object
    Namespace: Umbraco.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class CropCoordinates

    Constructors

    View Source

    CropCoordinates(Decimal, Decimal, Decimal, Decimal)

    Declaration
    public CropCoordinates(decimal x1, decimal y1, decimal x2, decimal y2)
    Parameters
    Type Name Description
    System.Decimal x1
    System.Decimal y1
    System.Decimal x2
    System.Decimal y2

    Properties

    View Source

    X1

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

    X2

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

    Y1

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

    Y2

    Declaration
    public decimal Y2 { get; }
    Property Value
    Type Description
    System.Decimal
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CropCoordinates(Decimal, Decimal, Decimal, Decimal)
    • Properties
      • X1
      • X2
      • Y1
      • Y2
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX