AppendItems() 공개 메소드

public AppendItems ( SVGTransformList, newListItem ) : void
newListItem SVGTransformList,
리턴 void
예제 #1
0
 protected void UpdateSummaryTransformList()
 {
     int c = 0;
     if(_inheritTransformList != null)
       c += _inheritTransformList.Count;
     if(_currentTransformList != null)
       c += _currentTransformList.Count;
     _summaryTransformList = new SVGTransformList(c);
     if(_inheritTransformList != null)
       _summaryTransformList.AppendItems(_inheritTransformList);
     if(_currentTransformList != null)
       _summaryTransformList.AppendItems(_currentTransformList);
 }
예제 #2
0
    protected void UpdateSummaryTransformList()
    {
        int c = 0;

        if (_inheritTransformList != null)
        {
            c += _inheritTransformList.Count;
        }
        if (_currentTransformList != null)
        {
            c += _currentTransformList.Count;
        }
        _summaryTransformList = new SVGTransformList(c);
        if (_inheritTransformList != null)
        {
            _summaryTransformList.AppendItems(_inheritTransformList);
        }
        if (_currentTransformList != null)
        {
            _summaryTransformList.AppendItems(_currentTransformList);
        }
    }