Class ImTextStyleExtensions
Inheritance
System.Object
ImTextStyleExtensions
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
Assembly: InitialPrefabs.ImGui.dll
Syntax
public static class ImTextStyleExtensions
Methods
WithColor(ref ImTextStyle, Color32)
Fluent API to set the color of the TextStyle.
Declaration
public static ref ImTextStyle WithColor(this ref ImTextStyle style, Color32 color)
Parameters
| Type | Name | Description |
|---|---|---|
| ImTextStyle | style | ImTextStyle to reference. |
| UnityEngine.Color32 | color | Color of the text. |
Returns
| Type | Description |
|---|---|
| ImTextStyle | An instance of the ImTextStyle. |