Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix: Some properties of external custom TextAlign will be modified in…
Browse files Browse the repository at this point in the history
…ternally
  • Loading branch information
painld6 committed Feb 2, 2021
1 parent 9d51bb9 commit a0fd7f8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@ internal class SVGACanvasDrawer(videoItem: SVGAVideoEntity, val dynamicItem: SVG
val drawRect = Rect(0, 0, drawingBitmap.width, drawingBitmap.height)
val textCanvas = Canvas(textBitmap)
drawingTextPaint.isAntiAlias = true
drawingTextPaint.setStyle(Paint.Style.FILL);
drawingTextPaint.setTextAlign(Paint.Align.CENTER);
val fontMetrics = drawingTextPaint.getFontMetrics();
val top = fontMetrics.top
val bottom = fontMetrics.bottom
Expand Down

0 comments on commit a0fd7f8

Please sign in to comment.