public ViewportedHighlightCanvas()
     : base()
 {
     this._Viewport = null;
 }
示例#2
0
 public ViewportPointConverter Within(double width, double height)
 {
     return this._pointConverter = new ViewportPointConverter(width, height);
 }
示例#3
0
 public ViewportPointConverter Within(INotifySizeChange sizeChanged)
 {
     this._pointConverter = new ViewportPointConverter(sizeChanged.CurrentWidth, sizeChanged.CurrentHeight);
     sizeChanged.NewSizeAvailable += (s) => this._pointConverter.UpdateViewport(s.Width, s.Height);
     return this._pointConverter;
 }
示例#4
0
 private void SetPointInformation(MoveableBodyPart center, MoveableBodyPart circumferencePoint)
 {
     this._pointConverter = null;
     this._center = center;
     this._circumferencePoint = circumferencePoint;
 }