public void Clear()
{
if(readOnly)
{
throw new DomException(DomExceptionType.NoModificationAllowedErr);
}
else
{
segments.Clear();
}
}
public void TestReadOnlyClear() { SvgPathSegList list = new SvgPathSegList("", true); list.Clear(); }