RenderTarget.DrawLine(startAdj.ToVector2(), endAdj.ToVector2(), Stroke.BrushDX, Stroke.Width, Stroke.StrokeStyle);
I would like it to draw my line, not DrawLine:
RenderTarget.DrawMyLine( this, "TAG", startAdj.ToVector2(), Brushes.Cyan );
'SharpDX.Direct2D1.RenderTarget' does not contain a definition for 'DrawMyLine' and no extension method 'DrawMyLine' accepting a first argument of type 'SharpDX.Direct2D1.RenderTarget' could be found (are you missing a using directive or an assembly reference?)
How do I fix this?
Comment