SIL.FieldWorks.SharpViews.SharpViewsTests.MockGraphics.DrawLine C# (CSharp) Метод

DrawLine() публичный Метод

public DrawLine ( int xLeft, int yTop, int xRight, int yBottom ) : void
xLeft int
yTop int
xRight int
yBottom int
Результат void
		public void DrawLine(int xLeft, int yTop, int xRight, int yBottom)
		{
			if (DrawActions == null)
				DrawActions = new List<object>();
			DrawActions.Add(new DrawLineAction() { Left = xLeft, Top = yTop, Right = xRight, Bottom = yBottom,
												   LineColor = ForeColor
			});
		}