Class FontFaceExtensions
Inheritance
System.Object
FontFaceExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: InitialPrefabs.NimGui.Text
Assembly: InitialPrefabs.ImGui.dll
Syntax
public static class FontFaceExtensions
Methods
CalculateLineHeight(in ImFontFace, Int32, Single)
Declaration
public static float CalculateLineHeight(this in ImFontFace fontFace, int fontSize, float yPadding)
Parameters
| Type | Name | Description |
|---|---|---|
| ImFontFace | fontFace | |
| System.Int32 | fontSize | |
| System.Single | yPadding |
Returns
| Type | Description |
|---|---|
| System.Single |