diff options
| author | jussi | 2024-06-13 14:52:56 +0300 |
|---|---|---|
| committer | jussi | 2024-06-13 14:52:56 +0300 |
| commit | e9539e9373947b7424df8bbb34d8ae30e49a591f (patch) | |
| tree | 0719f3bf5a00c53a43317d34c28d3b3925d4b4cd /API.md | |
| parent | f3dbe7d24bcf01d9a23326880dbb1a28457ff51f (diff) | |
| download | reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.tar.gz reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.tar.bz2 reilua-enhanced-e9539e9373947b7424df8bbb34d8ae30e49a591f.zip | |
DrawTextBoxed uses lineSpacing. GetTextLineSpacing.
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -6866,7 +6866,7 @@ Draw text using font inside rectangle limits. Return character id from mouse pos --- -> mouseCharId = RL.DrawTextBoxedTinted( Font font, string text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tints, Color backTints ) +> mouseCharId = RL.DrawTextBoxedTinted( Font font, string text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tints{}, Color backTints{} ) Draw text using font inside rectangle limits with support for tint and background tint for each character. Return character id from mouse position (default -1) @@ -6878,12 +6878,20 @@ Draw text using font inside rectangle limits with support for tint and backgroun --- -> size = RL.SetTextLineSpacing( int spacing ) +> RL.SetTextLineSpacing( int spacing ) Set vertical line spacing when drawing with line-breaks --- +> spacing = RL.GetTextLineSpacing() + +Get vertical line spacing when drawing with line-breaks + +- Success return int + +--- + > width = RL.MeasureText( string text, int fontSize ) Measure string width for default font |
