Show / Hide Table of Contents

Struct ImProgressBarStyle

Defines the style of the progress bar.

Implements
IStyle
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
Assembly: InitialPrefabs.ImGui.dll
Syntax
public struct ImProgressBarStyle : IStyle

Fields

Background

Declaration
public Color32 Background
Field Value
Type Description
UnityEngine.Color32

Column

Declaration
public HorizontalAlignment Column
Field Value
Type Description
HorizontalAlignment

FontSize

Declaration
public int FontSize
Field Value
Type Description
System.Int32

Foreground

Declaration
public Color32 Foreground
Field Value
Type Description
UnityEngine.Color32

Row

Declaration
public VerticalAlignment Row
Field Value
Type Description
VerticalAlignment

TextColor

Declaration
public Color32 TextColor
Field Value
Type Description
UnityEngine.Color32

Methods

New()

Constructs the default style of the ProgressBar using the DefaultStyles config.

Declaration
public static ImProgressBarStyle New()
Returns
Type Description
ImProgressBarStyle

Implements

IStyle

Extension Methods

ImProgressBarStyleExtensions.GetTextStyle(in ImProgressBarStyle)
StyleExtensions.WithBackground(ref ImProgressBarStyle, Color32)
StyleExtensions.WithForeground(ref ImProgressBarStyle, Color32)
StyleExtensions.WithTextColor(ref ImProgressBarStyle, Color32)
StyleExtensions.WithFontSize(ref ImProgressBarStyle, UInt16)
StyleExtensions.WithColumn(ref ImProgressBarStyle, HorizontalAlignment)
StyleExtensions.WithRow(ref ImProgressBarStyle, VerticalAlignment)
In This Article
Back to top Generated by DocFX