GetPath() публичный абстрактный Метод

public abstract GetPath ( ) : string
Результат string
Пример #1
0
        public void Stroke(Shape shape)
        {
            string path = shape.GetPath();

            Console.WriteLine($"描边{path}");
        }
Пример #2
0
        public void Fill(Shape shape)
        {
            string path = shape.GetPath();

            Console.WriteLine($"填充{path}");
        }