Graph Maker
WMG_Text_Functions Class Reference
Inheritance diagram for WMG_Text_Functions:
WMG_GUI_Functions WMG_Axis WMG_Bezier_Band WMG_Events WMG_Graph_Tooltip WMG_Legend WMG_Legend_Entry WMG_Link WMG_Node WMG_Ring

Public Types

enum  WMGpivotTypes {
  WMGpivotTypes.Bottom, WMGpivotTypes.BottomLeft, WMGpivotTypes.BottomRight, WMGpivotTypes.Center,
  WMGpivotTypes.Left, WMGpivotTypes.Right, WMGpivotTypes.Top, WMGpivotTypes.TopLeft,
  WMGpivotTypes.TopRight
}
 

Public Member Functions

void changeLabelText (GameObject obj, string aText)
 
void changeLabelFontSize (GameObject obj, int newFontSize)
 
Vector2 getTextSize (GameObject obj)
 
void changeSpritePivot (GameObject obj, WMGpivotTypes theType)
 
void changeLabelColor (GameObject obj, Color newColor)
 
void changeLabelFontStyle (GameObject obj, FontStyle newFontStyle)
 
void changeLabelFont (GameObject obj, Font newFont)
 

Member Enumeration Documentation

◆ WMGpivotTypes

Enumerator
Bottom 
BottomLeft 
BottomRight 
Center 
Left 
Right 
Top 
TopLeft 
TopRight 

Member Function Documentation

◆ changeLabelColor()

void WMG_Text_Functions.changeLabelColor ( GameObject  obj,
Color  newColor 
)

◆ changeLabelFont()

void WMG_Text_Functions.changeLabelFont ( GameObject  obj,
Font  newFont 
)

◆ changeLabelFontSize()

void WMG_Text_Functions.changeLabelFontSize ( GameObject  obj,
int  newFontSize 
)

◆ changeLabelFontStyle()

void WMG_Text_Functions.changeLabelFontStyle ( GameObject  obj,
FontStyle  newFontStyle 
)

◆ changeLabelText()

void WMG_Text_Functions.changeLabelText ( GameObject  obj,
string  aText 
)

◆ changeSpritePivot()

void WMG_Text_Functions.changeSpritePivot ( GameObject  obj,
WMGpivotTypes  theType 
)

◆ getTextSize()

Vector2 WMG_Text_Functions.getTextSize ( GameObject  obj)

The documentation for this class was generated from the following file: