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(); }
public void _removeFeature(InkFeature feature) { D.assert(this._inkFeatures != null); this._inkFeatures.Remove(feature); this.markNeedsPaint(); }