GetPath() public abstract method

public abstract GetPath ( ) : string
return 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}");
        }