Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | _SetText (string str, bool useHypenation) |
float | GetWidth () |
Public Attributes | |
int | padding |
bool | useParentWidth = true |
bool | usePreferredWidth = true |
bool | evaluateLate |
Properties | |
RectTransform | _RectTransform [get] |
Text | _Text [get] |
Private Member Functions | |
void | UpdateText (string str) |
float | GetSpaceWidth () |
float | GetTextWidth (string message) |
string | GetFormatedText (string msg) |
List< string > | GetWordList (string tmpText) |
Static Private Member Functions | |
static bool | CHECK_HYP_FRONT (char str) |
static bool | CHECK_HYP_BACK (char str) |
static bool | IsLatin (char s) |
Private Attributes | |
string | text |
bool | useHypenation |
RectTransform | _rectTransform |
Text | _text |
float | width |
Static Private Attributes | |
static readonly string | RITCH_TEXT_REPLACE = "(\<color=.*\>|</color>|\<size=.n\\>|</size>|<b>|</b>|<i>|</i>)" |
static readonly char[] | HYP_FRONT = ",)]}、。)〕〉》」』】〙〗〟’”⦆»ァィゥェォッャュョヮヵヶっぁぃぅぇぉっゃゅょゎ‐゠–〜ー?!!?‼⁇⁈⁉・:;。.".ToCharArray() |
static readonly char[] | HYP_BACK = "(([{〔〈《「『【〘〖〝‘“⦅«".ToCharArray() |
static readonly char[] | HYP_LATIN = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789<>=/().,".ToCharArray() |
Definition at line 10 of file HyphenationJpn.cs.
|
inline |
Definition at line 70 of file HyphenationJpn.cs.
References BaseCore.actionsNextFrame, GetWidth(), BaseCore.Instance, text, UpdateText(), useHypenation, and width.
Referenced by UIText.SetText().
|
inlinestaticprivate |
Definition at line 224 of file HyphenationJpn.cs.
References HYP_BACK, and item.
Referenced by GetWordList().
|
inlinestaticprivate |
Definition at line 219 of file HyphenationJpn.cs.
References HYP_FRONT, and item.
Referenced by GetWordList().
|
inlineprivate |
Definition at line 148 of file HyphenationJpn.cs.
References GetSpaceWidth(), GetTextWidth(), GetWordList(), padding, text, and width.
Referenced by UpdateText().
|
inlineprivate |
Definition at line 131 of file HyphenationJpn.cs.
References GetTextWidth().
Referenced by GetFormatedText().
|
inlineprivate |
Definition at line 138 of file HyphenationJpn.cs.
References _text, _Text, Empty, and RITCH_TEXT_REPLACE.
Referenced by GetFormatedText(), and GetSpaceWidth().
|
inline |
Definition at line 108 of file HyphenationJpn.cs.
References _RectTransform, useParentWidth, and usePreferredWidth.
Referenced by _SetText().
|
inlineprivate |
Definition at line 190 of file HyphenationJpn.cs.
References CHECK_HYP_BACK(), CHECK_HYP_FRONT(), and IsLatin().
Referenced by GetFormatedText().
|
inlinestaticprivate |
Definition at line 229 of file HyphenationJpn.cs.
Referenced by GetWordList().
|
inlineprivate |
Definition at line 62 of file HyphenationJpn.cs.
References GetFormatedText(), and useHypenation.
Referenced by _SetText().
|
private |
Definition at line 24 of file HyphenationJpn.cs.
|
private |
Definition at line 26 of file HyphenationJpn.cs.
Referenced by GetTextWidth().
bool HyphenationJpn.evaluateLate |
Definition at line 18 of file HyphenationJpn.cs.
Referenced by UIText.SetText().
|
staticprivate |
Definition at line 34 of file HyphenationJpn.cs.
Referenced by CHECK_HYP_BACK().
|
staticprivate |
Definition at line 32 of file HyphenationJpn.cs.
Referenced by CHECK_HYP_FRONT().
|
staticprivate |
Definition at line 36 of file HyphenationJpn.cs.
int HyphenationJpn.padding |
Definition at line 12 of file HyphenationJpn.cs.
Referenced by GetFormatedText().
|
staticprivate |
Definition at line 30 of file HyphenationJpn.cs.
Referenced by GetTextWidth().
|
private |
Definition at line 20 of file HyphenationJpn.cs.
Referenced by _SetText(), and GetFormatedText().
|
private |
Definition at line 22 of file HyphenationJpn.cs.
Referenced by _SetText(), and UpdateText().
bool HyphenationJpn.useParentWidth = true |
Definition at line 14 of file HyphenationJpn.cs.
Referenced by GetWidth().
bool HyphenationJpn.usePreferredWidth = true |
Definition at line 16 of file HyphenationJpn.cs.
Referenced by GetWidth().
|
private |
Definition at line 28 of file HyphenationJpn.cs.
Referenced by _SetText(), and GetFormatedText().
|
getprivate |
Definition at line 38 of file HyphenationJpn.cs.
Referenced by GetWidth().
|
get |
Definition at line 50 of file HyphenationJpn.cs.
Referenced by GetTextWidth().