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