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
      System.Object
      
   
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public class FocalPointPosition : IEquatable<ImageUrlGenerationOptions.FocalPointPosition>
   
  Constructors
  
  
    View Source
  
  FocalPointPosition(Decimal, Decimal)
  
  
  Declaration
  
    public FocalPointPosition(decimal left, decimal top)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Decimal | left |  | 
      
        | System.Decimal | top |  | 
    
  
  Properties
  
  
    View Source
  
  Left
  
  
  Declaration
  
    public decimal Left { 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.FocalPointPosition)
  
  
  Declaration
  
    public bool Equals(ImageUrlGenerationOptions.FocalPointPosition other)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  |