mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Use a dashed line for object highlighting.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package org.thoughtcrime.securesms.imageeditor.renderers
|
||||
|
||||
import android.graphics.Color
|
||||
import android.graphics.DashPathEffect
|
||||
import android.graphics.Paint
|
||||
import android.graphics.Path
|
||||
import android.graphics.RectF
|
||||
@@ -29,6 +30,7 @@ class SelectedElementGuideRenderer {
|
||||
strokeWidth = ViewUtil.dpToPx(15).toFloat() / 10f
|
||||
color = Color.WHITE
|
||||
style = Paint.Style.STROKE
|
||||
pathEffect = DashPathEffect(floatArrayOf(15f, 15f), 0f)
|
||||
}
|
||||
|
||||
private val circlePaint = Paint().apply {
|
||||
|
||||
Reference in New Issue
Block a user