C# Class FairyGUI.TextField.CharPosition

Show file Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Properties

Property Type Description
charIndex short
lineIndex short
offsetX int
vertCount int

Property Details

charIndex public property

字符在所在行的索引
public short charIndex
return short

lineIndex public property

字符所在的行索引
public short lineIndex
return short

offsetX public property

字符的x偏移
public int offsetX
return int

vertCount public property

字符占用的顶点数量。如果小于0,用于表示一个图片。对应的图片索引为-vertCount-1
public int vertCount
return int