Skip to main content

GraphicsCache.DrawLine Method

Name Parameters Description
DrawLine(Pen, Point, Point) pen, pt1, pt2 Draws a line on the current painting surface connecting two Point structures.
DrawLine(Pen, PointF, PointF) pen, pt1, pt2 Draws a line connecting two PointF structures.
DrawLine(Point, Point, Color, Int32) pt1, pt2, color, thickness Draws a line connecting two Point structures.
DrawLine(PointF, PointF, Color, Int32) pt1, pt2, color, thickness Draws a line connecting two PointF structures.
DrawLine(Int32, Int32, Int32, Int32, Color, Int32) x1, y1, x2, y2, color, thickness Draws a line connecting two Point structures.
DrawLine(Single, Single, Single, Single, Color, Int32) x1, y1, x2, y2, color, thickness Draws a line connecting two PointF structures.