increase stroke width

This commit is contained in:
Laurent Sansonetti
2014-04-26 18:44:49 +02:00
parent b7d9c29553
commit 710c3cdb55

View File

@@ -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]