横向泳池泳道生成的图片标题错位问题,同时阶段也存在该问题
This commit is contained in:
parent
037824201a
commit
c7e2048703
Binary file not shown.
@ -1008,7 +1008,8 @@ public class ChartGraphics {
|
||||
// 使用缓存测量
|
||||
TextMeasureResult result = measureText(tx, ty, tw, th, text, fontFamily, fontSize, tw, th, vAlign);
|
||||
List<String> lines = result.lines;
|
||||
double y = ty + result.offsetY + fontSize;
|
||||
double y = result.offsetY + fontSize;
|
||||
// double y = ty + result.offsetY + fontSize;
|
||||
|
||||
Color fontColor = getColor(fontStyle.getString("color"));
|
||||
graphics.setPaint(fontColor);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user