Version: 2022.1

MarkPositionAdjustment

struct in UnityEngine.TextCore.Text

切换到手册

描述

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.

变量

xPositionAdjustmentThe horizontal positional adjustment of the glyph relative to the anchor point of its parent base glyph.
yPositionAdjustmentThe vertical positional adjustment of the glyph relative to the anchor point of its parent base glyph.

构造函数

MarkPositionAdjustmentInitializes and returns an instance of MarkPositionAdjustment.