C# Класс ImGuiNET.NativeStyle

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Alpha float
AntiAliasedLines byte
AntiAliasedShapes byte
ChildWindowRounding float
ColumnsMinSpacing float
CurveTessellationTol float
DisplaySafeAreaPadding System.Numerics.Vector2
DisplayWindowPadding System.Numerics.Vector2
FramePadding System.Numerics.Vector2
FrameRounding float
GrabMinSize float
GrabRounding float
IndentSpacing float
ItemInnerSpacing System.Numerics.Vector2
ItemSpacing System.Numerics.Vector2
ScrollbarRounding float
ScrollbarSize float
TouchExtraPadding System.Numerics.Vector2
WindowFillAlphaDefault float
WindowMinSize System.Numerics.Vector2
WindowPadding System.Numerics.Vector2
WindowRounding float
WindowTitleAlign Align

Описание свойств

Alpha публичное свойство

Global alpha applies to everything in ImGui.
public float Alpha
Результат float

AntiAliasedLines публичное свойство

Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU.
public byte AntiAliasedLines
Результат byte

AntiAliasedShapes публичное свойство

Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.)
public byte AntiAliasedShapes
Результат byte

ChildWindowRounding публичное свойство

Radius of child window corners rounding. Set to 0.0f to have rectangular windows.
public float ChildWindowRounding
Результат float

ColumnsMinSpacing публичное свойство

Minimum horizontal spacing between two columns
public float ColumnsMinSpacing
Результат float

CurveTessellationTol публичное свойство

Tessellation tolerance. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality.
public float CurveTessellationTol
Результат float

DisplaySafeAreaPadding публичное свойство

If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows.
public Vector2,System.Numerics DisplaySafeAreaPadding
Результат System.Numerics.Vector2

DisplayWindowPadding публичное свойство

Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows.
public Vector2,System.Numerics DisplayWindowPadding
Результат System.Numerics.Vector2

FramePadding публичное свойство

Padding within a framed rectangle (used by most widgets).
public Vector2,System.Numerics FramePadding
Результат System.Numerics.Vector2

FrameRounding публичное свойство

Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets).
public float FrameRounding
Результат float

GrabMinSize публичное свойство

Minimum width/height of a grab box for slider/scrollbar
public float GrabMinSize
Результат float

GrabRounding публичное свойство

Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs.
public float GrabRounding
Результат float

IndentSpacing публичное свойство

Horizontal indentation when e.g. entering a tree node
public float IndentSpacing
Результат float

ItemInnerSpacing публичное свойство

Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label).
public Vector2,System.Numerics ItemInnerSpacing
Результат System.Numerics.Vector2

ItemSpacing публичное свойство

Horizontal and vertical spacing between widgets/lines.
public Vector2,System.Numerics ItemSpacing
Результат System.Numerics.Vector2

ScrollbarRounding публичное свойство

Radius of grab corners for scrollbar
public float ScrollbarRounding
Результат float

ScrollbarSize публичное свойство

Width of the vertical scrollbar, Height of the horizontal scrollbar
public float ScrollbarSize
Результат float

TouchExtraPadding публичное свойство

Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much!
public Vector2,System.Numerics TouchExtraPadding
Результат System.Numerics.Vector2

WindowFillAlphaDefault публичное свойство

Default alpha of window background, if not specified in ImGui::Begin().
public float WindowFillAlphaDefault
Результат float

WindowMinSize публичное свойство

Minimum window size.
public Vector2,System.Numerics WindowMinSize
Результат System.Numerics.Vector2

WindowPadding публичное свойство

Padding within a window.
public Vector2,System.Numerics WindowPadding
Результат System.Numerics.Vector2

WindowRounding публичное свойство

Radius of window corners rounding. Set to 0.0f to have rectangular windows.
public float WindowRounding
Результат float

WindowTitleAlign публичное свойство

Alignment for title bar text.
public Align WindowTitleAlign
Результат Align