class RMQImageViewStyler
Public Instance Methods
adjust_view_bounds=(adjust_view_bounds)
click to toggle source
# File lib/project/ruby_motion_query/stylers/rmq_image_view_styler.rb, line 9 def adjust_view_bounds=(adjust_view_bounds) @view.adjustViewBounds = adjust_view_bounds end
image_resource=(resource_id)
click to toggle source
# File lib/project/ruby_motion_query/stylers/rmq_image_view_styler.rb, line 3 def image_resource=(resource_id) @view.imageResource = resource_id end
max_height=(max_height)
click to toggle source
# File lib/project/ruby_motion_query/stylers/rmq_image_view_styler.rb, line 13 def max_height=(max_height) @view.maxHeight = dp2px(max_height) end
max_width=(max_width)
click to toggle source
# File lib/project/ruby_motion_query/stylers/rmq_image_view_styler.rb, line 17 def max_width=(max_width) @view.maxWidth = dp2px(max_width) end
tint=(t)
click to toggle source
# File lib/project/ruby_motion_query/stylers/rmq_image_view_styler.rb, line 21 def tint=(t) @view.setColorFilter(convert_color(t)) end