Search Results for

    Show / Hide Table of Contents
    View Source

    Class ImageUrlGenerationOptions.FocalPointPosition

    The focal point position, in whatever units the registered IImageUrlGenerator uses, typically a percentage of the total image from 0.0 to 1.0.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ImageUrlGenerationOptions.FocalPointPosition

    Constructors

    View Source

    FocalPointPosition(decimal, decimal)

    Declaration
    public FocalPointPosition(decimal left, decimal top)
    Parameters
    Type Name Description
    decimal left
    decimal top

    Properties

    View Source

    Left

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

    Top

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

    Methods

    View Source

    Equals(object?)

    Determines whether the specified object is equal to the current object.

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

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    View Source

    Equals(FocalPointPosition?)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(ImageUrlGenerationOptions.FocalPointPosition? other)
    Parameters
    Type Name Description
    ImageUrlGenerationOptions.FocalPointPosition other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    View Source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX