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}");
        }