iTextSharp.text.pdf.parser.TextRenderInfo.GetUnscaledBaselineWithOffset C# (CSharp) 메소드

GetUnscaledBaselineWithOffset() 개인적인 메소드

private GetUnscaledBaselineWithOffset ( float yOffset ) : LineSegment
yOffset float
리턴 LineSegment
        private LineSegment GetUnscaledBaselineWithOffset(float yOffset)
        {
            // we need to correct the width so we don't have an extra character spacing value at the end.  The extra character space is important for tracking relative text coordinate systems, but should not be part of the baseline
            float correctedUnscaledWidth = GetUnscaledWidth() - gs.characterSpacing * gs.horizontalScaling;

            return new LineSegment(new Vector(0, yOffset, 1), new Vector(correctedUnscaledWidth, yOffset, 1));
        }