Struct TextBlobBuilder | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TextBlobBuilder

    Namespace: Unity.UIWidgets.ui
    Syntax
    public struct TextBlobBuilder

    Methods

    allocRunPos(TextStyle, String, Int32, Int32, Single)

    Declaration
    public void allocRunPos(TextStyle style, string text, int offset, int size, float textScaleFactor = 1F)
    Parameters
    Type Name Description
    TextStyle style
    String text
    Int32 offset
    Int32 size
    Single textScaleFactor

    make()

    Declaration
    public TextBlob make()
    Returns
    Type Description
    TextBlob

    setBounds(UnityEngine.Rect)

    Declaration
    public void setBounds(UnityEngine.Rect bounds)
    Parameters
    Type Name Description
    UnityEngine.Rect bounds

    setPositionX(Int32, Single)

    Declaration
    public void setPositionX(int i, float positionX)
    Parameters
    Type Name Description
    Int32 i
    Single positionX

    setPositionXs(Single[])

    Declaration
    public void setPositionXs(float[] positionXs)
    Parameters
    Type Name Description
    Single[] positionXs
    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