Class TextRectangle
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
floatthe x coordinate of lower left point
y
floatthe y coordinate of lower left point
width
floatthe width value
height
floatthe height value
textBaseLineYCoordinate
floatthe 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