Beispiel #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="wfHotspotType"></param>
 /// <returns></returns>
 public Point GetShadowHotspot(WFHotspotType wfHotspotType)
 {
     return this.GetHotspot(wfHotspotType);
 }
Beispiel #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="wfHotspotType"></param>
 /// <returns></returns>
 public Point GetHotspot(WFHotspotType wfHotspotType)
 {
     Point point = new Point(0, 0);
     switch (wfHotspotType)
     {
         case WFHotspotType.Left:
         case WFHotspotType.Top:
             point.X = this.wfShape.plShadow.Points[0].X;
             point.Y = this.wfShape.plShadow.Points[0].Y;
             break;
         case WFHotspotType.Right:
         case WFHotspotType.Bottom:
             point.X = this.wfShape.plShadow.Points[3].X;
             point.Y = this.wfShape.plShadow.Points[3].Y;
             break;
     }
     return point;
 }