/** * Adds a line of text that will be displayed using the specified font. * * @param text the text. * @param font the font. * @param paint the paint. */ public void addLine(final String text, final Font font, final Paint paint) { addLine(new TextLine(text, font, paint)); }
/** * Adds a line of text that will be displayed using the specified font. * * @param text the text. * @param font the font. * @param paint the paint. */ public void addLine(final String text, final Font font, final Paint paint) { addLine(new TextLine(text, font, paint)); }
/** * Adds a line of text that will be displayed using the specified font. * * @param text the text. * @param font the font. * @param paint the paint. */ public void addLine(final String text, final Font font, final Paint paint) { addLine(new TextLine(text, font, paint)); }
if (s != null) { if (edge == RectangleEdge.TOP || edge == RectangleEdge.BOTTOM) { TextLine line = new TextLine(s, this.sublabelFont, this.sublabelPaint); label.addLine(line);