|
|
|
@ -38,7 +38,7 @@ class ReplayerConfiguration(var handHistory: HandHistory) { |
|
|
|
data class TextPoint(var x: Float, var y: Float, var fontSize: Float) { |
|
|
|
data class TextPoint(var x: Float, var y: Float, var fontSize: Float) { |
|
|
|
fun toRect(): RectF { |
|
|
|
fun toRect(): RectF { |
|
|
|
val wRatio = 1.5f |
|
|
|
val wRatio = 1.5f |
|
|
|
return RectF(x - wRatio * fontSize, y - fontSize, x + wRatio * fontSize, y) |
|
|
|
return RectF(x - wRatio * fontSize, y - fontSize, x + wRatio * fontSize, y + fontSize * 0.1f) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|