Struct ImFontFace
Stores description of how the font is laid out.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: InitialPrefabs.ImGui.dll
Syntax
[Serializable]
public struct ImFontFace
Fields
AscentLine
Declaration
Field Value
| Type |
Description |
| System.Single |
|
BaseLine
Declaration
Field Value
| Type |
Description |
| System.Single |
|
CapLine
Declaration
Field Value
| Type |
Description |
| System.Single |
|
DescentLine
Declaration
Field Value
| Type |
Description |
| System.Single |
|
LineHeight
Declaration
Field Value
| Type |
Description |
| System.Single |
|
MeanLine
Declaration
Field Value
| Type |
Description |
| System.Single |
|
PointSize
Declaration
Field Value
| Type |
Description |
| System.Single |
|
Scale
Declaration
Field Value
| Type |
Description |
| System.Single |
|
StrikeThroughOffset
Declaration
public float StrikeThroughOffset
Field Value
| Type |
Description |
| System.Single |
|
StrikeThroughThickness
Declaration
public float StrikeThroughThickness
Field Value
| Type |
Description |
| System.Single |
|
SubscriptOffset
Declaration
public float SubscriptOffset
Field Value
| Type |
Description |
| System.Single |
|
SubscriptSize
Declaration
public float SubscriptSize
Field Value
| Type |
Description |
| System.Single |
|
SuperscriptOffset
Declaration
public float SuperscriptOffset
Field Value
| Type |
Description |
| System.Single |
|
SuperscriptSize
Declaration
public float SuperscriptSize
Field Value
| Type |
Description |
| System.Single |
|
TabWidth
Declaration
Field Value
| Type |
Description |
| System.Single |
|
UnderlineOffset
Declaration
public float UnderlineOffset
Field Value
| Type |
Description |
| System.Single |
|
Methods
Create(FaceInfo)
Constructs a FontFace from UnityEngine.TextCore's FaceInfo.
Declaration
public static ImFontFace Create(FaceInfo info)
Parameters
| Type |
Name |
Description |
| UnityEngine.TextCore.FaceInfo |
info |
The FaceInfo to construct from.
|
Returns
| Type |
Description |
| ImFontFace |
A copy of the FaceInfo into a FontFace struct.
|
Extension Methods