docs.unity3d.com
    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.

    Namespace: TMPro
    Syntax
    public struct MarkPositionAdjustment

    Constructors

    MarkPositionAdjustment(Single, Single)

    Initializes and returns an instance of MarkPositionAdjustment

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

    The horizontal positional adjustment.

    Single 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
    Single

    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
    Single
    Back to top
    Terms of use
    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