Class Offset
  
  
  
  
  
  Assembly: Mapsui.dll
  Syntax
  
  Constructors
  
    |
    Edit this page
  
  
    View Source
  
  
  Offset()
  Offset of images from the center of the image.
If IsRelative, than the offset is between -0.5 and +0.5.
Declaration
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Offset(Offset, bool)
  
  
  Declaration
  
    public Offset(Offset offset, bool isRelative = false)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Offset | offset |  | 
      
        | bool | isRelative |  | 
    
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Offset(double, double, bool)
  
  
  Declaration
  
    public Offset(double x, double y, bool isRelative = false)
   
  Parameters
  
  Properties
  
    |
    Edit this page
  
  
    View Source
  
  
  IsRelative
  
  
  Declaration
  
    public bool IsRelative { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  X
  
  
  Declaration
  
    public double X { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Y
  
  
  Declaration
  
    public double Y { get; set; }
   
  Property Value
  
  Methods
  
    |
    Edit this page
  
  
    View Source
  
  
  Equals(Offset?)
  
  
  Declaration
  
    public bool Equals(Offset? offset)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Offset | offset |  | 
    
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Equals(object?)
  
  
  Declaration
  
    public override bool Equals(object? obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | object | obj |  | 
    
  
  Returns
  
  Overrides
  
  
    |
    Edit this page
  
  
    View Source
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
  Overrides
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ToPoint()
  
  
  Declaration
  
  Returns
  
  Operators
  
    |
    Edit this page
  
  
    View Source
  
  
  operator ==(Offset?, Offset?)
  
  
  Declaration
  
    public static bool operator ==(Offset? offset1, Offset? offset2)
   
  Parameters
  
  Returns
  
  
    |
    Edit this page
  
  
    View Source
  
  
  operator !=(Offset?, Offset?)
  
  
  Declaration
  
    public static bool operator !=(Offset? offset1, Offset? offset2)
   
  Parameters
  
  Returns