Example #1
0
 public void addInkFeature(InkFeature feature)
 {
     D.assert(!feature._debugDisposed);
     D.assert(feature._controller == this);
     this._inkFeatures = this._inkFeatures ?? new List <InkFeature>();
     D.assert(!this._inkFeatures.Contains(feature));
     this._inkFeatures.Add(feature);
     this.markNeedsPaint();
 }
Example #2
0
 public void _removeFeature(InkFeature feature)
 {
     D.assert(this._inkFeatures != null);
     this._inkFeatures.Remove(feature);
     this.markNeedsPaint();
 }