GetPath() public abstract méthode

public abstract GetPath ( ) : string
Résultat string
        public void Stroke(Shape shape)
        {
            string path = shape.GetPath();

            Console.WriteLine($"描边{path}");
        }
        public void Fill(Shape shape)
        {
            string path = shape.GetPath();

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