コード例 #1
0
 public void AddScalingStepAtIndex(ScalingStep step, int index)
 {
     if (_steps.Contains(step))
     {
         throw new InvalidOperationException("This ScalingInfo already contains this ScaleStep");
     }
     _steps.Insert(index, step);
     step.SetParent(this);
     _dirty = true;
 }
コード例 #2
0
 public void RemoveScalingStep(ScalingStep step)
 {
     _steps.Remove(step);
     step.SetParent(null);
     _dirty = true;
 }
コード例 #3
0
ファイル: scaling.cs プロジェクト: modulexcite/IL2JS
 public void RemoveScalingStep(ScalingStep step)
 {
     _steps.Remove(step);
     step.SetParent(null);
     _dirty = true;
 }
コード例 #4
0
ファイル: scaling.cs プロジェクト: modulexcite/IL2JS
 public void AddScalingStepAtIndex(ScalingStep step, int index)
 {
     if (_steps.Contains(step))
         throw new InvalidOperationException("This ScalingInfo already contains this ScaleStep");
     _steps.Insert(index, step);
     step.SetParent(this);
     _dirty = true;
 }