Ejemplo n.º 1
0
 protected ScaleneSwagTailViewModel(IWorkspaceBit workspaceBit, SwagTail model)
     : base(workspaceBit, model)
 {
     LeftShoulder.Length = 0.25 * Layout.Width;
     LeftShoulder.WaveHeight = LeftShoulder.Length / WaveCount * 1.3;
     RightShoulder.Length = 0.15 * Layout.Width;
     RightShoulder.WaveHeight = RightShoulder.Length / WaveCount * 1.3;
 }
Ejemplo n.º 2
0
        protected EqualSwagTailViewModel(IWorkspaceBit workspaceBit, SwagTail model)
            : base(workspaceBit, model)
        {
            Shoulder = new ShoulderViewModel(new Shoulder());

            Shoulder.Synchronize(LeftShoulder);
            Shoulder.Synchronize(RightShoulder);

            Shoulder.Length = 0.25 * Layout.Width;
            Shoulder.WaveHeight = Shoulder.Length / WaveCount * 1.3;
        }
Ejemplo n.º 3
0
 public EqualSwagViewModel(IWorkspaceBit workspaceBit, SwagTail model)
     : base(workspaceBit, model)
 {
 }
Ejemplo n.º 4
0
 public ScaleneSwagViewModel(IWorkspaceBit workspaceBit, SwagTail model)
     : base(workspaceBit, model)
 {
 }