public class TextMetricsArea extends Object
| Modifier and Type | Field and Description |
|---|---|
List<Rectangle2D> |
charAreas
每个字符大小
|
double |
height
文字区域高度(单位毫米mm)
|
double |
letterSpacing
字间距
|
double |
width
文字区域宽度(单位毫米mm)
|
| Constructor and Description |
|---|
TextMetricsArea() |
public List<Rectangle2D> charAreas
public double width
宽度 = 每个字宽度 + 字间距 * (n - 1) ,n 文字数量
public double height
public double letterSpacing
Copyright © 2026. All rights reserved.