{
  "name": "TextFormat",
  "header": "nativeui/gfx/text.h",
  "type": "struct",
  "namespace": "nu",
  "description": "Options for layouting text.",
  "properties": [
    {
      "optional": true,
      "description": "Horizontal text align, default is to the start of layout.",
      "id": "align",
      "type": {
        "name": "TextAlign",
        "id": "textalign"
      },
      "name": "align"
    },
    {
      "optional": true,
      "description": "Vertical text align, default is to the start of layout.",
      "id": "valign",
      "type": {
        "name": "TextAlign",
        "id": "textalign"
      },
      "name": "valign"
    },
    {
      "optional": true,
      "description": "Whether to wrap lines, default is `true`.",
      "detail": "Lines are wrapped at word boundaries.",
      "id": "wrap",
      "type": {
        "name": "bool"
      },
      "name": "wrap"
    },
    {
      "optional": true,
      "description": "Whether to show ellipsis (...) at the end of the last visible line if the\ntext doesn't fit into the bounds specified, default is `false`.\n",
      "detail": "The text is broken at the boundary of the last character.\n\nOn Linux, `ellipsis` does not have effect if `wrap` is `false`.\n",
      "id": "ellipsis",
      "type": {
        "name": "bool"
      },
      "name": "ellipsis"
    }
  ],
  "id": "textformat"
}