Exemplo n.º 1
0
 public bool IsPartOfRectangle(OrderRelatedElement rectangle, Sheet sheet)
 {
     return(Value == rectangle.Location.Y - sheet.Location.Y || Value == rectangle.Location.Y + rectangle.Size.Height - sheet.Location.Y);
 }
Exemplo n.º 2
0
 public bool IsPartOfRectangle(OrderRelatedElement rectangle, Sheet sheet)
 {
     return(Value == rectangle.Location.X - sheet.Location.X || Value == rectangle.Location.X + rectangle.Size.Width - sheet.Location.X);
 }