Previous topic


Next topic


This Page

Quick links


class psychopy.visual.Line(win, start=(-0.5, -0.5), end=(0.5, 0.5), **kwargs)

Creates a Line between two points.

(New in version 1.72.00)

Line accepts all input parameters, that ShapeStim accepts, except for vertices, closeShape and fillColor.

The methods contains and overlaps are inherited from ~psychopy.visual.ShapeStim, but always return False (because a line is not a proper (2D) polygon).

mro() → list

return a type’s method resolution order