StyledText.resize

Set new bounding box for the text; wrap the text if it doesn't fit in boundaries.

  1. void resize()
  2. void resize(Vector2 space, bool wrap)
  3. void resize(CanvasIO canvasIO)
  4. void resize(CanvasIO canvasIO, Vector2 space, bool wrap)
    struct StyledText(StyleRange = TextStyleSlice[])
    void
    resize
    (,
    Vector2 space
    ,
    bool wrap = true
    )

Meta