Previous topic

ImageStim

Next topic

MovieStim

This Page

Quick links

Line

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.

Notes:

The contains method always return False because a line is not a proper (2D) polygon.

mro() → list

return a type’s method resolution order