AvalonStudio.TextEditor.Rendering.ColumnLimitBackgroundRenderer.Draw C# (CSharp) Method

Draw() public method

public Draw ( TextView textView, Avalonia.Media.DrawingContext drawingContext ) : void
textView TextView
drawingContext Avalonia.Media.DrawingContext
return void
		public void Draw(TextView textView, DrawingContext drawingContext)
		{
			var xPos = textView.TextSurfaceBounds.X + textView.CharSize.Width*120.0;

			drawingContext.DrawLine(new Pen(brush, 1), new Point(xPos, 0), new Point(xPos, textView.Bounds.Bottom));
		}
ColumnLimitBackgroundRenderer