mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-05-14 16:19:30 +08:00
increase stroke width
This commit is contained in:
@@ -12,7 +12,7 @@ class PaintView < Android::View::View
|
||||
path.moveTo(x, y)
|
||||
paint = Android::Graphics::Paint.new
|
||||
paint.color = Android::Graphics::Color.rgb(rand(255), rand(255), rand(255))
|
||||
paint.strokeWidth = 5.0
|
||||
paint.strokeWidth = 10.0
|
||||
paint.style = Android::Graphics::Paint::Style::STROKE
|
||||
paint.antiAlias = true
|
||||
@paths << [path, paint]
|
||||
|
||||
Reference in New Issue
Block a user