Method: MotionPrime::ImageDrawElement#draw_options

Defined in:
motion-prime/elements/draw/image.rb

#draw_optionsObject



7
8
9
10
11
12
13
# File 'motion-prime/elements/draw/image.rb', line 7

def draw_options
  image = image_data || computed_options[:image]
  image ||= computed_options[:default] if computed_options[:url]

  # already initialized image or image from resources or default image
  super.merge({image: image.try(:uiimage)})
end