CrossUI.Drawing.Vector.Equals C# (CSharp) Method

Equals() public method

public Equals ( Vector other ) : bool
other Vector
return bool
        public bool Equals(Vector other)
        {
            return X.Equals(other.X) && Y.Equals(other.Y);
        }

Same methods

Vector::Equals ( object obj ) : bool

Usage Example

Example #1
0
 public bool Equals(Point other)
 {
     return(Vector.Equals(other.Vector));
 }