mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-06-05 21:59:17 +02:00
Increase flood fill stroke width
This commit is contained in:
@ -376,7 +376,7 @@ class MyCanvas(context: Context, attrs: AttributeSet) : View(context, attrs) {
|
|||||||
|
|
||||||
ensureBackgroundThread {
|
ensureBackgroundThread {
|
||||||
val path = bitmap.vectorFloodFill(color = color, x = touchedX, y = touchedY, tolerance = FLOOD_FILL_TOLERANCE)
|
val path = bitmap.vectorFloodFill(color = color, x = touchedX, y = touchedY, tolerance = FLOOD_FILL_TOLERANCE)
|
||||||
val paintOpts = PaintOptions(color = color, strokeWidth = 4f)
|
val paintOpts = PaintOptions(color = color, strokeWidth = 5f)
|
||||||
addOperation(path, paintOpts)
|
addOperation(path, paintOpts)
|
||||||
post { invalidate() }
|
post { invalidate() }
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user