|
| MyRichLabel (MyGuiControlBase parent, float maxLineWidth, float minLineHeight, int?linesCountMax=null) |
|
void | Append (StringBuilder text, string font, float scale, Vector4 color) |
|
void | Append (string text, string font, float scale, Vector4 color) |
|
void | Append (string texture, Vector2 size, Vector4 color) |
|
void | AppendLink (string url, string text, float scale, Action< string > onClick) |
|
void | AppendLine () |
|
void | AppendLine (StringBuilder text, string font, float scale, Vector4 color) |
|
void | AppendLine (string texture, Vector2 size, Vector4 color) |
|
bool | Draw (Vector2 position, float offset, Vector2 drawSizeMax) |
| Draws label More...
|
|
void | Clear () |
|
Definition at line 14 of file MyRichLabel.cs.
Sandbox.Graphics.GUI.MyRichLabel.MyRichLabel |
( |
MyGuiControlBase |
parent, |
|
|
float |
maxLineWidth, |
|
|
float |
minLineHeight, |
|
|
int? |
linesCountMax = null |
|
) |
| |
|
inline |
void Sandbox.Graphics.GUI.MyRichLabel.Append |
( |
StringBuilder |
text, |
|
|
string |
font, |
|
|
float |
scale, |
|
|
Vector4 |
color |
|
) |
| |
|
inline |
void Sandbox.Graphics.GUI.MyRichLabel.Append |
( |
string |
text, |
|
|
string |
font, |
|
|
float |
scale, |
|
|
Vector4 |
color |
|
) |
| |
|
inline |
void Sandbox.Graphics.GUI.MyRichLabel.Append |
( |
string |
texture, |
|
|
Vector2 |
size, |
|
|
Vector4 |
color |
|
) |
| |
|
inline |
void Sandbox.Graphics.GUI.MyRichLabel.AppendLine |
( |
| ) |
|
|
inline |
void Sandbox.Graphics.GUI.MyRichLabel.AppendLine |
( |
StringBuilder |
text, |
|
|
string |
font, |
|
|
float |
scale, |
|
|
Vector4 |
color |
|
) |
| |
|
inline |
void Sandbox.Graphics.GUI.MyRichLabel.AppendLine |
( |
string |
texture, |
|
|
Vector2 |
size, |
|
|
Vector4 |
color |
|
) |
| |
|
inline |
void Sandbox.Graphics.GUI.MyRichLabel.AppendLink |
( |
string |
url, |
|
|
string |
text, |
|
|
float |
scale, |
|
|
Action< string > |
onClick |
|
) |
| |
|
inline |
void Sandbox.Graphics.GUI.MyRichLabel.Clear |
( |
| ) |
|
|
inline |
bool Sandbox.Graphics.GUI.MyRichLabel.Draw |
( |
Vector2 |
position, |
|
|
float |
offset, |
|
|
Vector2 |
drawSizeMax |
|
) |
| |
|
inline |
Draws label
- Parameters
-
position | Top-left position |
offset | |
drawSizeMax | |
- Returns
Definition at line 273 of file MyRichLabel.cs.
MyGuiDrawAlignEnum Sandbox.Graphics.GUI.MyRichLabel.TextAlign = MyGuiDrawAlignEnum.HORISONTAL_LEFT_AND_VERTICAL_TOP |
float Sandbox.Graphics.GUI.MyRichLabel.MaxLineWidth |
|
getset |
int Sandbox.Graphics.GUI.MyRichLabel.NumberOfRows |
|
get |
bool Sandbox.Graphics.GUI.MyRichLabel.ShowTextShadow |
|
getset |
Vector2 Sandbox.Graphics.GUI.MyRichLabel.Size |
|
get |
The documentation for this class was generated from the following file: