public override bool Equals(object obj) { if (!(obj is RectangleF)) return false; return (this == (RectangleF)obj); }