123456789101112131415161718192021222324252627282930313233343536 |
- .. _func_graphics_max2d_textwidth:
- =========
- TextWidth
- =========
- TextWidth -
- Description
- ===========
- .. code-block:: blitzmax
- TextWidth( text$ )
- Get width of text
- This command is useful for calculating horizontal alignment of text when using
- the #DrawText command.
- Parameters
- ==========
- Return Values
- =============
- the width, in pixels, of @text based on the current image font.
- Examples
- ========
- See Also
- ========
|