psychopy_ext.exp.SVG

class psychopy_ext.exp.SVG(win, filename='image')[source]
__init__(win, filename='image')[source]

Methods

__init__(win[, filename])
color2attr(stim, attr[, color, colorSpace, ...])
color2rgb255(stim[, color, colorSpace]) Convert color to RGB255 while adding contrast
get_pos(stim[, pos, offset])
get_size(stim[, size])
open(filename)
save()
write(stim)