


Unless those windows share the same OpenGL context, which permits In manyĬases, a stimulus instance cannot be drawn on different windows The stimulus instance willĪllocate its required resources using that Windows context. Win ( Window) – Window this shape is being drawn to. Rect ( win, width = 0.5, height = 0.5, units = '', lineWidth = 1.5, lineColor = None, lineColorSpace = None, fillColor = 'white', fillColorSpace = None, pos = 0, 0, size = None, anchor = None, ori = 0.0, opacity = None, contrast = 1.0, depth = 0, interpolate = True, lineRGB = False, fillRGB = False, name = None, autoLog = None, autoDraw = False, color = None, colorSpace = 'rgb' ) ¶Ĭreates a rectangle of given width and height as a special case of a The name of the color space currently being usedĭetails ¶ class. Whether every change in this stimulus should be auto logged.ĭetermines whether the stimulus should be automatically drawn on every frame flip. The name ( str) of the object to be using during logged messages about this stim. Legacy property for setting the fill color of a stimulus in RGB, instead use obj._fillColor.rgb Legacy property for setting the border color of a stimulus in RGB, instead use obj._borderColor.rgb If True the edge of the line will be anti-aliased. The orientation of the stimulus (in degrees).ĭetermines how visible the stimulus is relative to background.Ī value that is simply multiplied by the color.ĭEPRECATED, depth is now controlled simply by drawing order. The size (width, height) of the stimulus in the stimulus units The position of the center of the stimulus in the stimulus units Rect(win)Ĭreates a rectangle of given width and height as a special case of a ShapeStim.ĭeprecated, please use colorSpace to set color space for the entire objectĭeprecated, please use colorSpace to set color space for the entire object.
