PsychExpAPIs.ImageStimType
ImageStim()

Constructor for an ImageStim object

Constructor inputs:

  • win::Window

  • imageName::String.......includes path

  • pos::Vector{Int64}

Optional constructor inputs:

  • image::Ptr{SDL_Texture}
  • width::Int64
  • height::Int64

Methods:

  • draw()

Notes: width and height are automatically calculated during ImageStim construction.

source
PsychExpAPIs.drawMethod
draw(theImageStim::ImageStim; magnification::Float64)

Draws an ImageStim to the back buffer.

Inputs:

  • theImageStim::ImageStim

Optional Inputs:

  • magnification::Float64
source