示例#1
0
        public override bool IsIn(IDrawArea pane, ScreenRect sr)
        {
            var s1 = GetScreenPos(pane);

            return(sr.IsIn(s1));
        }
示例#2
0
 /// <summary>
 /// In start point or end point
 /// </summary>
 /// <param name="pane"></param>
 /// <param name="sr"></param>
 /// <returns></returns>
 public override bool IsIn(IDrawArea pane, ScreenRect sr)
 {
     return(sr.IsIn(_p0) | sr.IsIn(_p1));
 }