private void ShowShadow(Point point, WFSLPointType wf11PointType) { if (wf11PointType == WFSLPointType.Precision) //精确坐标点 { Canvas.SetLeft(Shadow, point.X); Canvas.SetTop(Shadow, point.Y); } else //偏移坐标点 { Canvas.SetLeft(Shadow, point.X - this.x + this._ShadowX); Canvas.SetTop(Shadow, point.Y - this.y + this._ShadowX); } }
public void ShowShadow(Point point, WFSLPointType wf11PointType, object sender) { if (wf11PointType == WFSLPointType.Precision) //精确坐标点 { Canvas.SetLeft(Shadow, point.X); Canvas.SetTop(Shadow, point.Y); } else //偏移坐标点 { Canvas.SetLeft(Shadow, point.X - this.x + this._ShadowX); Canvas.SetTop(Shadow, point.Y - this.y + this._ShadowX); } this.ShowWFSLLineShadow(sender); }
public void ShowShadow(Point point, WFSLPointType wf11PointType, object sender) { if ((this.BeginWFSLElement == null && this.EndWFSLElement == null) || (this.BeginWFSLElement != null && this.EndWFSLElement != null && this.WFSLState == WFSLElementState.Focus)) { wfslLineShape.ShowShadow(point, wf11PointType); } }
public void ShowShadow(Point mousePoint, WFSLPointType wfslPointType) { if (wfslPointType == WFSLPointType.Excursion) { plShadow.Points = this.GetPloyline(plShadow.Points, previousPoint, mousePoint); previousPoint = mousePoint; } else { plShadow.Points = GetMe(); } }