Search Results for

    Show / Hide Table of Contents

    Class Offset

    Inheritance
    object
    Offset
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Styles
    Assembly: Mapsui.dll
    Syntax
    public class Offset

    Constructors

    | Edit this page View Source

    Offset()

    Declaration
    public Offset()
    | Edit this page View Source

    Offset(MPoint)

    Declaration
    public Offset(MPoint point)
    Parameters
    Type Name Description
    MPoint point
    | Edit this page View Source

    Offset(Offset)

    Declaration
    public Offset(Offset offset)
    Parameters
    Type Name Description
    Offset offset
    | Edit this page View Source

    Offset(double, double)

    Declaration
    public Offset(double x, double y)
    Parameters
    Type Name Description
    double x
    double y

    Properties

    | Edit this page View Source

    X

    Declaration
    public double X { get; set; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    Y

    Declaration
    public double Y { get; set; }
    Property Value
    Type Description
    double

    Methods

    | Edit this page View Source

    Combine(Offset)

    Declaration
    public Offset Combine(Offset offset)
    Parameters
    Type Name Description
    Offset offset
    Returns
    Type Description
    Offset
    | Edit this page View Source

    Equals(Offset?)

    Declaration
    public bool Equals(Offset? offset)
    Parameters
    Type Name Description
    Offset offset
    Returns
    Type Description
    bool
    | Edit this page 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.

    Overrides
    object.Equals(object)
    | Edit this page 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.

    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToPoint()

    Declaration
    public MPoint ToPoint()
    Returns
    Type Description
    MPoint

    Operators

    | Edit this page View Source

    operator ==(Offset?, Offset?)

    Declaration
    public static bool operator ==(Offset? offset1, Offset? offset2)
    Parameters
    Type Name Description
    Offset offset1
    Offset offset2
    Returns
    Type Description
    bool
    | Edit this page View Source

    operator !=(Offset?, Offset?)

    Declaration
    public static bool operator !=(Offset? offset1, Offset? offset2)
    Parameters
    Type Name Description
    Offset offset1
    Offset offset2
    Returns
    Type Description
    bool

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX