Пример #1
0
 // Token: 0x06001331 RID: 4913 RVA: 0x001822E4 File Offset: 0x001804E4
 public static void drawStringWithScrollCenteredAt(SpriteBatch b, string s, int x, int y, string placeHolderWidthText = "", float alpha = 1f, int color = -1, int scrollType = 0, float layerDepth = 0.88f, bool junimoText = false)
 {
     SpriteText.drawString(b, s, x - SpriteText.getWidthOfString((placeHolderWidthText.Length > 0) ? placeHolderWidthText : s) / 2, y, 999999, -1, 999999, alpha, layerDepth, junimoText, scrollType, placeHolderWidthText, color);
 }
Пример #2
0
 // Token: 0x06001332 RID: 4914 RVA: 0x00182328 File Offset: 0x00180528
 public static void drawStringWithScrollBackground(SpriteBatch b, string s, int x, int y, string placeHolderWidthText = "", float alpha = 1f, int color = -1)
 {
     SpriteText.drawString(b, s, x, y, 999999, -1, 999999, alpha, 0.88f, false, 0, placeHolderWidthText, color);
 }
Пример #3
0
 // Token: 0x06001327 RID: 4903 RVA: 0x00181E00 File Offset: 0x00180000
 public static void drawStringHorizontallyCenteredAt(SpriteBatch b, string s, int x, int y, int characterPosition = 999999, int width = -1, int height = 999999, float alpha = 1f, float layerDepth = 0.88f, bool junimoText = false, int color = -1)
 {
     SpriteText.drawString(b, s, x - SpriteText.getWidthOfString(s) / 2, y, characterPosition, width, height, alpha, layerDepth, junimoText, -1, "", color);
 }