Sandbox.ModAPI.Ingame.IMyTextSurface.MeasureStringInPixels - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← IMyTextSurface
public Vector2 MeasureStringInPixels(StringBuilder text, string font, float scale)
Calculates how many pixels a string of a given font and scale will take up.
Width and Height of text with specified text, font and scale
- StringBuilder text
- string font
- float scale