Example #1
0
        public void Append(FillBase element)
        {
            switch (element)
            {
            case FillLoop loop:
                Append(loop);
                break;

            case FillCurve curve:
                Append(curve);
                break;

            default:
                throw new NotImplementedException($"FillCurveSet2d.Append encountered unexpected type {element.GetType()}");
            }
        }