Open Dev Kit Documentation :: GUI :: Get Text Dimensions
GUI.GetTextDimensions( Text String, Font Font*, Wrap Width Integer ) 2D VectorReturns the dimensions of text with a specified font; not as optimized as the RenderContext version as an internal context must be used anyway
Parameters
- Text String
- Text to measure
- Font Font*
- Font used for rendering the text
- Wrap Width Integer
- Width at which to wrap text; 0 for no wrapping
Return Value
If you think anything is missing, please feel free to: submit documentation feedback on this page
