Open Dev Kit Documentation :: GUI :: Render Context :: Get Text Dimensions
GUI.RenderContext.GetTextDimensions( Text String, Font Font*, Wrap Width Integer ) 2D VectorReturns the dimensions of text with the current font or a specified one
Parameters
- Text String
- Text for which dimensions are being calculated
- Font Font*
- Font to use for the dimension calculation
- Wrap Width Integer
- Optional maximum width to consider for text wrapping; 0 for no wrapping
Return Value
If you think anything is missing, please feel free to: submit documentation feedback on this page
