docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MarkPositionAdjustment

    A MarkPositionAdjustment defines the positional adjustment of a glyph relative to the anchor point of base glyph. This data structure is used by the Mark-to-Base, Mark-to-Mark and Mark-to-Ligature OpenType font features.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: TMPro
    Assembly: Unity.TextMeshPro.dll
    Syntax
    [Serializable]
    public struct MarkPositionAdjustment

    Constructors

    MarkPositionAdjustment(float, float)

    Initializes and returns an instance of MarkPositionAdjustment

    Declaration
    public MarkPositionAdjustment(float x, float y)
    Parameters
    Type Name Description
    float x

    The horizontal positional adjustment.

    float y

    The vertical positional adjustment.

    Properties

    xPositionAdjustment

    The horizontal positional adjustment of the glyph relative to the anchor point of its parent base glyph.

    Declaration
    public float xPositionAdjustment { get; set; }
    Property Value
    Type Description
    float

    yPositionAdjustment

    The vertical positional adjustment of the glyph relative to the anchor point of its parent base glyph.

    Declaration
    public float yPositionAdjustment { get; set; }
    Property Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)