Example #1
0
 public override string txtSerialize()
 {
     return(string.Format("{0},{1},{2},{3},{4},{5},{6}", Name, StartPoint.X, StartPoint.Y, EndPoint.X, EndPoint.Y, PenColor.ToKnownColor(), PenWidth));
 }
Example #2
0
 public override string txtSerialize()
 {
     return(string.Format("{0},{1},{2},{3},{4},{5},{6},{7}", Name, StartPoint.X, StartPoint.Y, radius, FillColor.ToKnownColor(), FillStyle, PenColor.ToKnownColor(), PenWidth));
 }
Example #3
0
 public override string txtSerialize()
 {
     return(string.Format("{0}:{1}:{2}:{3}:{4}:{5}", Name, StartPoint.X, StartPoint.Y, PenColor.ToKnownColor(), PenWidth, Points));
 }