summaryrefslogtreecommitdiff
path: root/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_LineInfo.cs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-08-20 23:40:50 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-08-20 23:40:50 -0400
commit3af4c218c0e70167db23a6303d2af30aff37d2fe (patch)
tree927f29edcf54ab562f40f3d1c6cb69287c7f5980 /Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_LineInfo.cs
parentb6daed0af784f4e9bc13329dd87c671b06ee1c65 (diff)
downloadProject-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.gz
Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.tar.bz2
Project-Sandbox-3af4c218c0e70167db23a6303d2af30aff37d2fe.zip
Removed a bunch of stuff; Changes
Diffstat (limited to 'Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_LineInfo.cs')
-rw-r--r--Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_LineInfo.cs52
1 files changed, 0 insertions, 52 deletions
diff --git a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_LineInfo.cs b/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_LineInfo.cs
deleted file mode 100644
index 6f90157..0000000
--- a/Library/PackageCache/com.unity.textmeshpro@2.0.1/Scripts/Runtime/TMP_LineInfo.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-namespace TMPro
-{
-
- /// <summary>
- /// Structure which contains information about the individual lines of text.
- /// </summary>
- public struct TMP_LineInfo
- {
- internal int controlCharacterCount;
-
- public int characterCount;
- public int visibleCharacterCount;
- public int spaceCount;
- public int wordCount;
- public int firstCharacterIndex;
- public int firstVisibleCharacterIndex;
- public int lastCharacterIndex;
- public int lastVisibleCharacterIndex;
-
- public float length;
- public float lineHeight;
- public float ascender;
- public float baseline;
- public float descender;
- public float maxAdvance;
-
- public float width;
- public float marginLeft;
- public float marginRight;
-
- public TextAlignmentOptions alignment;
- public Extents lineExtents;
-
-
- /// <summary>
- /// Function returning the current line of text.
- /// </summary>
- /// <returns></returns>
- //public string GetLineText()
- //{
- // string word = string.Empty;
- // TMP_CharacterInfo[] charInfo = textComponent.textInfo.characterInfo;
-
- // for (int i = firstCharacterIndex; i < lastCharacterIndex + 1; i++)
- // {
- // word += charInfo[i].character;
- // }
-
- // return word;
- //}
- }
-} \ No newline at end of file