Want to avoid swamping the log file with messages that aren’t likely toĪlternative way of setting fillColor property backColorSpace ¶ĭeprecated, please use colorSpace to set color space for the entire updating its position every frame) and you Whether every change in this stimulus should be auto logged. _borderPix from pos, size, ori,įlipVert, flipHoriz addCharAtCaret ( char ) ¶Īllows a character to be added programmatically at the current caret property alignment ¶ property anchor ¶ autoDraw ¶ĭetermines whether the stimulus should be automatically drawn The user shouldn’t need this method since it gets calledĬhooses between using and not using shaders each call. Use setAttribute() and val2array() instead. _set ( attrib, val, op = '', log = None ) ¶ _setCurrent() method which handles the switch. Layout the text, calculating the vertex locations _onCursorKeys ( key ) ¶Ĭalled by the window when cursor/del/backspace… are received _onText ( chr ) ¶Ĭalled by the window when characters are received _selectWindow ( win ) ¶ Requires self.rgb, lorSpace and ntrast _getPolyAsRendered ( ) ¶ĭEPRECATED. _calcSizeRendered ( ) ¶īy _updateVertices() and verticesPix _getDesiredRGB ( rgb, colorSpace, contrast ) ¶Ĭonvert color to RGB while adding contrast. This functionality is now handledīy _updateVertices() and verticesPix. Legacy property for setting the foreground color of a stimulus in RGB, instead use obj._foreColor.rgb TypeĭEPRECATED in 1.80.00.
![psychopy draw line psychopy draw line](https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/99d62837147309.5735ec4d2e9e0.jpg)
Specifying ‘uax14’, text will beīroken in accordance with UAX#14 (Unicode Line Breaking Algorithm). LineBreaking ( Specifying 'default', text will be broken at a set of) – characters defined in the module. Length but fixed at 0.75 units in the width Specifying gets a textbox that expands in the Size ( Specifying None gets the default size for this type of unit.) – Specifying gets a TextBox that’s expandable in bothĭimensions. TextBox2 ( win, text, font = 'Open Sans', pos = 0, 0, units = None, letterHeight = None, size = None, color = 1.0, 1.0, 1.0, colorSpace = 'rgb', fillColor = None, fillColorSpace = None, borderWidth = 2, borderColor = None, borderColorSpace = None, contrast = 1, opacity = None, bold = False, italic = False, lineSpacing = None, padding = None, anchor = 'center', alignment = 'left', flipHoriz = False, flipVert = False, languageStyle = 'LTR', editable = False, lineBreaking = 'default', name = '', autoLog = None, autoDraw = False, onTextCallback = None ) ¶ Parameters