C# Class LeopotamGroup.Gui.Common.GuiTextTools

Text tools helper.
显示文件 Open project: Leopotam/LeopotamGroupLibraryUnity

Public Methods

Method Description
FillText ( Mesh mesh, int width, int height, string text, Color color, TextAnchor align, Font font, int fontSize, float lineHgt, GuiFontEffect effect = GuiFontEffect.None, Vector2 effectValue = null, Color effectColor = null ) : void

Fill label mesh.

Method Details

FillText() public static method

Fill label mesh.
public static FillText ( Mesh mesh, int width, int height, string text, Color color, TextAnchor align, Font font, int fontSize, float lineHgt, GuiFontEffect effect = GuiFontEffect.None, Vector2 effectValue = null, Color effectColor = null ) : void
mesh UnityEngine.Mesh Mesh.
width int Label width.
height int Label height.
text string Label text.
color UnityEngine.Color Color.
align TextAnchor Text align.
font UnityEngine.Font Font.
fontSize int Font size.
lineHgt float Line height multiplier.
effect GuiFontEffect Effect.
effectValue UnityEngine.Vector2 Effect value.
effectColor UnityEngine.Color Effect color.
return void