diff --git a/doc/sources/images/line-instruction.png b/doc/sources/images/line-instruction.png new file mode 100644 index 000000000..d6973d0ee Binary files /dev/null and b/doc/sources/images/line-instruction.png differ diff --git a/kivy/graphics/vertex_instructions_line.pxi b/kivy/graphics/vertex_instructions_line.pxi index 692ca35ec..965c71680 100644 --- a/kivy/graphics/vertex_instructions_line.pxi +++ b/kivy/graphics/vertex_instructions_line.pxi @@ -40,6 +40,9 @@ cdef class Line(VertexInstruction): Additionally, if the current color have an alpha < 1.0, stencil will be used internally to draw the line. + .. image:: images/line-instruction.png + :align: center + :Parameters: `points`: list List of points in the format (x1, y1, x2, y2...)