Table of Contents

Class TextRectangle

Namespace
iText.Svg.Utils
Assembly
itext.svg.dll

A rectangle adapted for working with text elements.

public class TextRectangle : Rectangle
Inheritance
TextRectangle
Inherited Members

Constructors

TextRectangle(float, float, float, float, float)

Create new instance of text rectangle.

public TextRectangle(float x, float y, float width, float height, float textBaseLineYCoordinate)

Parameters

x float

the x coordinate of lower left point

y float

the y coordinate of lower left point

width float

the width value

height float

the height value

textBaseLineYCoordinate float

the y coordinate of the line on which the text is located.

Methods

GetTextBaseLineRightPoint()

Return the far right point of the rectangle with y on the baseline.

public virtual Point GetTextBaseLineRightPoint()

Returns

Point

the far right baseline point