示例#1
0
    /// <summary>
    /// Add multistroke to the library
    /// </summary>
    public void AddMultiStroke()
    {
        multiStroke = new MultiStroke(multiStrokePoints.ToArray(), newMultiStrokeName);
        ml.AddMultiStroke(multiStroke);
        SetMessage(newMultiStrokeName + " has been added to the library");

        id = System.Guid.NewGuid().ToString("N");
        newMultiStrokeName = text + ":" + id;
        SetMessage(newMultiStrokeName);
    }
 /// <summary>
 /// Add multistroke to the library
 /// </summary>
 public void AddMultiStroke()
 {
     multiStroke = new MultiStroke(multiStrokePoints.ToArray(), newMultiStrokeName.text);
     ml.AddMultiStroke(multiStroke);
     SetMessage(newMultiStrokeName.text + " has been added to the library");
 }