Class NTxFontBySizeResolver
java.lang.Object
net.thevpc.ntexup.api.eval.NTxFontBySizeResolver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFittingFont(Font baseFont, int style, double boxWidth, double boxHeight, NTxGraphics graphics) getFont(Font font, int style, double w, double h, NTxGraphics fontMetricsFunction) getFont(String name, int style, double w, double h, NTxGraphics fontMetricsFunction) getFont(String name, Font font, int style, double w, double h, NTxGraphics fontMetricsFunction)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NTxFontBySizeResolver
public NTxFontBySizeResolver()
-
-
Method Details
-
getFont
public Font getFont(String name, Font font, int style, double w, double h, NTxGraphics fontMetricsFunction) -
getFont
-
getFont
-
getFittingFont
public Font getFittingFont(Font baseFont, int style, double boxWidth, double boxHeight, NTxGraphics graphics)
-