Search Results for

    Show / Hide Table of Contents

    Struct ScreenPosition

    Implements
    IEquatable<ScreenPosition>
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Mapsui.Manipulations
    Assembly: Mapsui.dll
    Syntax
    public record struct ScreenPosition : IEquatable<ScreenPosition>

    Constructors

    | Edit this page View Source

    ScreenPosition(double, double)

    Declaration
    public ScreenPosition(double X, double Y)
    Parameters
    Type Name Description
    double X
    double Y

    Properties

    | Edit this page View Source

    X

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

    Y

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

    Methods

    | Edit this page View Source

    Distance(ScreenPosition)

    Declaration
    public readonly double Distance(ScreenPosition position)
    Parameters
    Type Name Description
    ScreenPosition position
    Returns
    Type Description
    double
    | Edit this page View Source

    Offset(double, double)

    Declaration
    public readonly ScreenPosition Offset(double offsetX, double offsetY)
    Parameters
    Type Name Description
    double offsetX
    double offsetY
    Returns
    Type Description
    ScreenPosition

    Implements

    IEquatable<T>

    Extension Methods

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