function GetTextOutline(x, y: double; const text: UnicodeString): TPathsD; overload;
function GetTextOutline(x, y: double; const text: UnicodeString; out nextX: double; underlineIdx: integer = 0): TPathsD; overload;
function GetTextOutline(const rec: TRect; const text: UnicodeString; textAlign: TTextAlign; textAlignV: TTextVAlign; underlineIdx: integer = 0): TPathsD; overload;
Notes:
x and y indicate the initial offset of the text baseline.
The returned glyphs' Y coordinates are relative to the baseline of text.
nextX is the anticipated X offset for any following text.
When underlineIdx is greater than zero, the indexed character will be underlined (eg indicating an accelerator/shortcut character).
The nextIdx out parameter will be 0 when all characters fit within rec. Otherwise it'll indicate to offset of the first character in text that didn't fit within rec.
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 18 Jan 2025