コード例 #1
0
        public void AddBezier()
        {
            var builder = new ShapeBuilder();

            builder.AddBezier(new Vector2(10, 10), new Vector2(20, 20), new Vector2(20, 30), new Vector2(10, 40));
            var shape = builder.Build();

            Assert.Equal(1, shape.Paths.Length);
        }