lib/sugarcube/uiimage.rb in sugarcube-0.9.2 vs lib/sugarcube/uiimage.rb in sugarcube-0.9.3
- old
+ new
@@ -1,8 +1,7 @@
class UIImage
def uiimage ; self ; end
-
def uicolor(alpha=nil)
color = UIColor.colorWithPatternImage(self)
if not alpha.nil?
color = color.colorWithAlphaComponent(alpha.to_f)
end