···11+# TextTransform
22+33+Transform text in a way that makes it easy to manipulate individual characters.
44+55+## Methods
66+77+### `TransformText`
88+99+`TransformText(labelToTransform: TextLabel)` → `Frame`
1010+1111+Transforms a `TextLabel` into a `Frame` for easy manipulation of letters.
1212+Letter index is stored in `LayoutOrder` for each `Frame`.
1313+Stores necessary style information as attributes on the returned `Frame`.
1414+1515+#### Parameters
1616+1717+| Name | Type | Required |
1818+| ---------------- | ----------- | -------- |
1919+| labelToTransform | `TextLabel` | Yes |
2020+2121+#### Returns
2222+2323+| Type |
2424+| ------- |
2525+| `Frame` |
2626+2727+---
2828+2929+### `CreateFrameFromLabel`
3030+3131+`CreateFrameFromLabel(labelTemplate: TextLabel)` → `Frame`
3232+3333+Creates a `Frame` from a `TextLabel` for easy manipulation of letters.
3434+Intended to be used with [`InsertLetter`](#InsertLetter).
3535+3636+#### Parameters
3737+3838+| Name | Type | Required |
3939+| ------------- | ----------- | -------- |
4040+| labelTemplate | `TextLabel` | Yes |
4141+4242+#### Returns
4343+4444+| Type |
4545+| ------- |
4646+| `Frame` |
4747+4848+---
4949+5050+### `InsertLetter`
5151+5252+`InsertLetter(frame: Frame, letter: string, index: number)` → `Frame`
5353+5454+Inserts a new letter (`Frame`) into the `listFrame` at the specified index.
5555+Adjusts `LayoutOrder` of subsequent letters.
5656+Returns the newly created letter `Frame` or `nil` if attributes are missing.
5757+5858+#### Parameters
5959+6060+| Name | Type | Required |
6161+| --------- | -------- | -------- |
6262+| listFrame | `Frame` | Yes |
6363+| letter | `string` | Yes |
6464+| index | `number` | Yes |
6565+6666+#### Returns
6767+6868+| Type |
6969+| -------- |
7070+| `Frame?` |
+1-2
README.md
···4455## Modules
6677-- TextTransform
88- - Transforms a `TextLabel` into a `Frame` with many children for easy manipulation of letters. Letter index is stored in `LayoutOrder` for each `Frame`.
77+- [TextTransform](Docs/TextTransform.md): Transform text in a way that makes it easy to manipulate individual characters.
98109---
1110