Пример #1
0
 private double GetHorizontalOffset(SecureCorePinViewModel pin)
 {
     return(pin.HorizontalOffset + pin.Width / 2);
 }
Пример #2
0
 private double GetVerticalOffset(SecureCorePinViewModel pin, double scale)
 {
     return(pin.VerticalOffset + pin.Height - pin.PinHeight / scale / 2);
 }
Пример #3
0
 public SecureCoreLine(SecureCorePinViewModel start, SecureCorePinViewModel end)
 {
     _start = start;
     _end   = end;
     SetPoints(1);
 }