Struct Point

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

    The Point is a struct that defines the 2D point as a pair of generic type.

    [Obsolete("This has been deprecated in API12")]
    public struct Point : IEquatable<Point>
    Implements
    System.IEquatable<T><Point>

    Fields

    View Source

    X

    Location along the horizontal axis.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public int X
    Field Value
    Type Description
    int
    View Source

    Y

    Location along the vertical axis.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public int Y
    Field Value
    Type Description
    int

    Methods

    View Source

    Equals(Point)

    Indicates whether this instance and a Point object are equal.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public bool Equals(Point other)
    Parameters
    Type Name Description
    Point other

    The Point to compare with the current instance.

    Returns
    Type Description
    bool

    true if the object and this instance are the same type and represent the same value, otherwise false.

    View Source

    Equals(object)

    Indicates whether this instance and a specified object are equal.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if the object and this instance are of the same type and represent the same value, otherwise false.

    Overrides
    System.ValueType.Equals(object)
    View Source

    GetHashCode()

    Gets the hash code.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hash code.

    Overrides
    System.ValueType.GetHashCode()
    View Source

    ToString()

    A human readable representation of Point.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public override string ToString()
    Returns
    Type Description
    string

    The string is formatted as "{{X={0} Y={1}}}".

    Overrides
    System.ValueType.ToString()

    Operators

    View Source

    operator ==(Point, Point)

    Whether both Points are equal.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public static bool operator ==(Point p1, Point p2)
    Parameters
    Type Name Description
    Point p1

    A Point on the left hand side.

    Point p2

    A Point on the right hand side.

    Returns
    Type Description
    bool

    True if both Points have equal values.

    View Source

    operator !=(Point, Point)

    Whether both Points are not equal.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public static bool operator !=(Point p1, Point p2)
    Parameters
    Type Name Description
    Point p1

    A Point on the left hand side.

    Point p2

    A Point on the right hand side.

    Returns
    Type Description
    bool

    True if both Points do not have equal values.

    Implements

    System.IEquatable<T>
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX