setList() 개인적인 메소드

private setList ( SvgPathSegList list ) : void
list SvgPathSegList
리턴 void
예제 #1
0
 private void setListAndIndex(SvgPathSeg newItem, int index)
 {
     if (newItem != null)
     {
         newItem.setList(this);
         newItem.setIndex(index);
     }
     else
     {
         throw new SvgException(SvgExceptionType.SvgWrongTypeErr, "Can only add SvgPathSeg subclasses to ISvgPathSegList");
     }
 }
예제 #2
0
 private void setListAndIndex(SvgPathSeg newItem, int index)
 {
     if(newItem != null)
     {
         newItem.setList(this);
         newItem.setIndex(index);
     }
     else
     {
         throw new SvgException(SvgExceptionType.SvgWrongTypeErr, "Can only add SvgPathSeg subclasses to ISvgPathSegList");
     }
 }