System.Windows.Rect.Equals C# (CSharp) Method

Equals() public method

public Equals ( Rect value ) : bool
value Rect
return bool
        public bool Equals(Rect value)
        {
            return Equals(this, value);
        }

Same methods

Rect::Equals ( Rect rect1, Rect rect2 ) : bool
Rect::Equals ( object o ) : bool

Usage Example

コード例 #1
0
ファイル: Span.cs プロジェクト: hsteinhilber/white-project
 protected virtual bool DoesntContain(Rect rect, double otherStart, double otherEnd)
 {
     if (rect.Equals(Rect.Empty)) return true;
     double center = (otherStart + otherEnd)/2;
     if (center.IsInvalid()) return true;
     return center < start || center > end;
 }
All Usage Examples Of System.Windows.Rect::Equals