标签:outline sha 获得 return ble aci padding pad examples
Shape getTextShape(Graphics2D g2d, String str, Font font) {
FontRenderContext frc = g2d.getFontRenderContext();
TextLayout tl = new TextLayout(str, font, frc);
return tl.getOutline(null);
}
| Related Examples |
标签:outline sha 获得 return ble aci padding pad examples
原文地址:https://www.cnblogs.com/borter/p/9575446.html