[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextRect.-ctor

TextRect Constructor

TextRect(int, int, float, float, float, float, bool, bool, bool, bool)

Initializes a new instance of the TextRect class with the specified coordinates, size, and flags.

Declaration
public TextRect(int codePointIndex, int codePointCount, float x, float y, float width, float height, bool rightToLeft, bool vertical, bool sideways, bool rotateSidewaysCounterclockwise)
Public Sub New(codePointIndex As Integer, codePointCount As Integer, x As Single, y As Single, width As Single, height As Single, rightToLeft As Boolean, vertical As Boolean, sideways As Boolean, rotateSidewaysCounterclockwise As Boolean)
Parameters
Type Name Description
int codePointIndex

Index of the first code point in the text fragment.

int codePointCount

The number of code points in the text fragment.

float x

The X coordinate of the rectangle.

float y

The Y coordinate of the rectangle.

float width

The width of the rectangle.

float height

The height of the rectangle.

bool rightToLeft

Indicates if the text fragment should appear from right to left.

bool vertical

Indicates if the text fragment should appear upright with vertical reading direction.

bool sideways

Indicates if the text fragment should appear rotated 90 or -90 degrees.

bool rotateSidewaysCounterclockwise

Indicates if sideways should be rotated counterclockwise.