public RemoveItem ( int index ) : ISvgPathSeg | ||
index | int | |
return | ISvgPathSeg |
public ISvgPathSeg RemoveItem(int index )
{
if(readOnly)
{
throw new DomException(DomExceptionType.NoModificationAllowedErr);
}
else
{
ISvgPathSeg result = GetItem(index);
segments.RemoveAt(index);
changeIndexes(index, -1);
return result;
}
}