Example #1
0
        protected override void OnRender(DrawingContext dc)
        {
            dc.DrawGeometry(Brushes.Black, new Pen(Brushes.Black, 1), _geometry);

            _textTags.ForEach(tag => TextUtils.DrawText(dc, tag._text, tag._x, tag._y, 100, false, Brushes.Black));
        }
Example #2
0
        protected override void OnRender(DrawingContext dc)
        {
            dc.DrawGeometry(VisualStyle.Foreground, new Pen(VisualStyle.Foreground, 1), _geometry);

            _textTags.ForEach(tag => TextUtils.DrawText(dc, tag._text, tag._x, tag._y, 100, false, VisualStyle.Foreground));
        }