/** * Gets the ascentline for the text (i.e. the line that represents the topmost extent that a string of the current font could have) * This value includes the Rise of the draw operation - see {@link #getRise()} for the amount added by Rise * @return the ascentline line segment * @since 5.0.2 */ virtual public LineSegment GetAscentLine() { float ascent = gs.GetFont().GetFontDescriptor(BaseFont.ASCENT, gs.GetFontSize()); return(GetUnscaledBaselineWithOffset(ascent + gs.rise).TransformBy(textToUserSpaceTransformMatrix)); }