コード例 #1
0
        /// <summary>
        /// Add a stroke
        /// </summary>
        /// <param name="inkStroke">the ink stroke to add</param>
        public void Add(XInkStroke inkStroke)
        {
            var newStroke = inkStroke.ToInkStroke();

            if (newStroke == null)
            {
                return;
            }

            NativeStrokeContainer.AddStroke(newStroke);

            InkChanged?.Invoke(this, new EventArgs());
        }