Class ParagraphBuilder | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ParagraphBuilder

    Inheritance
    System.Object
    ParagraphBuilder
    Namespace: Unity.UIWidgets.ui
    Syntax
    public class ParagraphBuilder

    Constructors

    ParagraphBuilder(ParagraphStyle)

    Declaration
    public ParagraphBuilder(ParagraphStyle style)
    Parameters
    Type Name Description
    ParagraphStyle style

    Methods

    addText(String)

    Declaration
    public void addText(string text)
    Parameters
    Type Name Description
    System.String text

    build()

    Declaration
    public Paragraph build()
    Returns
    Type Description
    Paragraph

    peekStyleIndex()

    Declaration
    public int peekStyleIndex()
    Returns
    Type Description
    System.Int32

    pop()

    Declaration
    public void pop()

    pushStyle(TextStyle, Single)

    Declaration
    public void pushStyle(TextStyle style, float textScaleFactor)
    Parameters
    Type Name Description
    TextStyle style
    System.Single textScaleFactor
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023