mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
document.textFrames lists the document's type and makes point type, area type and type on a path. A TextFrame gives its kind, contents, text range, characters, words and paragraphs, outlines, and point and area conversion. A TextRange gives its contents, offsets, sub-collections, character attributes (size, leading, tracking, baseline shift, scales, rotation, underline, strikethrough, font) and paragraph attributes (alignment, indents, space before and after). app.textFonts lists the fonts. Offsets count UTF-16 code units. A range follows edits made through these objects and throws Stale text range after the frame's text changes another way. Each change runs an existing text command inside the run's transaction, and a value a range already has runs no command.