DrawLine()
<< Click to Display Table of Contents >> DrawLine() |
point0 |
A Vector2 representing the first point to draw between |
point1 |
A Vector2 representing the second point to draw between |
brush |
A Brush representing the brush to draw with |
strokeWidth |
A float representing the width of the stroke |
strokeStyle |
A StrokeStyle representing the stroke's style |
Vector2 point0 = new Vector2(); Vector2 point1 = new Vector2();
point0.X = point0X; point0.Y = point0Y; point1.X = point1X; point1.Y = point1Y;
RenderTarget.DrawLine(point0, point1, Stroke.BrushDX, Stroke.Width, Stroke.StrokeStyle); |