fix: set default font
This commit is contained in:
1 file changed
+1
-1
@@ -30,7 +30,7 @@ class DomainPriceCommand : BaseCommand() {
|
|||||||
private val secondLayerColor = Color(240, 255, 240)
|
private val secondLayerColor = Color(240, 255, 240)
|
||||||
private val textColor = Color.BLACK
|
private val textColor = Color.BLACK
|
||||||
private val domainApi = "https://dnspod.cloud.tencent.com"
|
private val domainApi = "https://dnspod.cloud.tencent.com"
|
||||||
private val font = Font("Serif", Font.PLAIN, 15)
|
private val font = Font("Serif", Font.PLAIN, 13)
|
||||||
|
|
||||||
private fun createCommonCanvas(): BufferedImage {
|
private fun createCommonCanvas(): BufferedImage {
|
||||||
val canvas = BufferedImage(canvasWidth, canvasHeight, BufferedImage.TYPE_INT_RGB)
|
val canvas = BufferedImage(canvasWidth, canvasHeight, BufferedImage.TYPE_INT_RGB)
|
||||||
|
|||||||
Reference in New Issue
Block a user