modules/graphics/src/main/java/com/sun/javafx/tk/FontMetrics.java
Print this page
*** 31,42 ****
* The metrics for a Font, including helper functions for computing string
* width/height and other metrics based on a specific String of text with
* this font.
*/
public class FontMetrics {
! /** @treatAsPrivate */
! public static FontMetrics impl_createFontMetrics(
float maxAscent, float ascent, float xheight, float descent,
float maxDescent, float leading, Font font) {
return new FontMetrics(maxAscent, ascent, xheight, descent, maxDescent, leading, font);
}
--- 31,42 ----
* The metrics for a Font, including helper functions for computing string
* width/height and other metrics based on a specific String of text with
* this font.
*/
public class FontMetrics {
!
! public static FontMetrics createFontMetrics(
float maxAscent, float ascent, float xheight, float descent,
float maxDescent, float leading, Font font) {
return new FontMetrics(maxAscent, ascent, xheight, descent, maxDescent, leading, font);
}