Skip to content

TSdlTtfSubString

The representation of a substring within text.

Definition

Unit: Neslib.Sdl3.Ttf

type TSdlTtfSubString = record ... end;

See Also

Properties

Name Description
CluserIndex The internal cluster index, used for quickly iterating
Flags The flags for this substring
Length The byte length starting at the offset
LineIndex The index of the line that contains this substring
Offset The byte offset from the beginning of the text
Rect The rectangle, relative to the top left of the text, containing the substring

Property Descriptions

CluserIndex

The internal cluster index, used for quickly iterating

property CluserIndex: Integer read FHandle.cluster_index

Type: Integer


Flags

The flags for this substring

property Flags: TSdlTtfSubStringFlags read GetFlags

Type: TSdlTtfSubStringFlags


Length

The byte length starting at the offset

property Length: Integer read FHandle.length

Type: Integer


LineIndex

The index of the line that contains this substring

property LineIndex: Integer read FHandle.line_index

Type: Integer


Offset

The byte offset from the beginning of the text

property Offset: Integer read FHandle.Offset

Type: Integer


Rect

The rectangle, relative to the top left of the text, containing the substring

property Rect: TSdlRect read GetRect

Type: TSdlRect