Sha256: e6173fa7cf34281017ef1f901d10d75ca9bd363eacac5912331b48391c524220
Contents?: true
Size: 349 Bytes
Versions: 3
Compression:
Stored size: 349 Bytes
Contents
motion_require '../draw.rb' module MotionPrime class ViewDrawElement < DrawElement include DrawBackgroundMixin def draw_in(rect) super draw_in_context(UIGraphicsGetCurrentContext()) end def draw_in_context(context) return if computed_options[:hidden] draw_background_in_context(context) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
motion-prime-1.0.7 | motion-prime/elements/draw/view.rb |
motion-prime-1.0.6 | motion-prime/elements/draw/view.rb |
motion-prime-1.0.5 | motion-prime/elements/draw/view.rb |