Show / Hide Table of Contents

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)
Namespace: InitialPrefabs.NimGui.Text
Assembly: InitialPrefabs.ImGui.dll
Syntax
[Serializable]
public struct ImFontFace

Fields

AscentLine

Declaration
public float AscentLine
Field Value
Type Description
System.Single

BaseLine

Declaration
public float BaseLine
Field Value
Type Description
System.Single

CapLine

Declaration
public float CapLine
Field Value
Type Description
System.Single

DescentLine

Declaration
public float DescentLine
Field Value
Type Description
System.Single

LineHeight

Declaration
public float LineHeight
Field Value
Type Description
System.Single

MeanLine

Declaration
public float MeanLine
Field Value
Type Description
System.Single

PointSize

Declaration
public float PointSize
Field Value
Type Description
System.Single

Scale

Declaration
public float Scale
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
public float TabWidth
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

FontFaceExtensions.CalculateLineHeight(in ImFontFace, Int32, Single)
In This Article
Back to top Generated by DocFX