Show / Hide Table of Contents

Struct ImLineStyle

Defines the style of the Line.

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 ImLineStyle : IStyle

Fields

Color

The foreground color.

Declaration
public Color32 Color
Field Value
Type Description
UnityEngine.Color32

Padding

The amount of spacing along the x axis. Unlike most styles, this does not care about the the Y axis.

Declaration
public float Padding
Field Value
Type Description
System.Single

Methods

New()

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

Declaration
public static ImLineStyle New()
Returns
Type Description
ImLineStyle

Implements

IStyle

Extension Methods

StyleExtensions.WithColor(ref ImLineStyle, Color32)
StyleExtensions.WithPadding(ref ImLineStyle, Single)
In This Article
Back to top Generated by DocFX