Package pamViewFX.fxNodes.pamAxis
Class PamAxisFX.FontMetrics
java.lang.Object
pamViewFX.fxNodes.pamAxis.PamAxisFX.FontMetrics
- Enclosing class:
 PamAxisFX
Internal class to mimic the non-public JavaFx FontMetrics class, no longer available from JavaFX 9 onwards.
 Code is taken from here: http://werner.yellowcouch.org/log/fontmetrics-jdk9/, with fields set to
 private instead of public and getters added
- Author:
 - mo55
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
FontMetrics
public FontMetrics(javafx.scene.text.Font fnt)  
 - 
 - 
Method Details
- 
computeStringWidth
 - 
getAscent
public float getAscent() - 
getDescent
public float getDescent() - 
getLineHeight
public float getLineHeight() 
 -