示例#1
0
 public string Generate()
 {
     return("<circle cx=\"" + x + "\" cy=\"" + y + "\" r=\"" + r + "\" fill=\"" + color.ToString() + "\"/>");
 }
示例#2
0
 public string Generate()
 {
     return("<line x1=\"" + x1 + "\" y1=\"" + y1 + "\" x2=\"" + x2 + "\" y2=\"" + y2 + "\" stroke=\"" + color.ToString() + "\" />");
 }