#[repr(u32)]pub enum StyleVar {
Show 27 variants
LineWeight = 0,
Marker = 1,
MarkerSize = 2,
MarkerWeight = 3,
FillAlpha = 4,
ErrorBarSize = 5,
ErrorBarWeight = 6,
DigitalBitHeight = 7,
DigitalBitGap = 8,
PlotBorderSize = 9,
MinorAlpha = 10,
MajorTickLen = 11,
MinorTickLen = 12,
MajorTickSize = 13,
MinorTickSize = 14,
MajorGridSize = 15,
MinorGridSize = 16,
PlotPadding = 17,
LabelPadding = 18,
LegendPadding = 19,
LegendInnerPadding = 20,
LegendSpacing = 21,
MousePosPadding = 22,
AnnotationPadding = 23,
FitPadding = 24,
PlotDefaultSize = 25,
PlotMinSize = 26,
}
Expand description
Style variable choice, as in “which thing will be affected by a style setting”.
Variants§
LineWeight = 0
f32, line weight in pixels
Marker = 1
u32, marker specification
MarkerSize = 2
f32, marker size in pixels (roughly the marker’s “radius”)
MarkerWeight = 3
f32, outline weight of markers in pixels
FillAlpha = 4
f32, alpha modifier applied to all plot item fills
ErrorBarSize = 5
f32, error bar whisker width in pixels
ErrorBarWeight = 6
f32, error bar whisker weight in pixels
DigitalBitHeight = 7
f32, digital channels bit height (at 1) in pixels
DigitalBitGap = 8
f32, digital channels bit padding gap in pixels
PlotBorderSize = 9
f32, thickness of border around plot area
MinorAlpha = 10
f32, alpha multiplier applied to minor axis grid lines
MajorTickLen = 11
ImVec2, major tick lengths for X and Y axes
MinorTickLen = 12
ImVec2, minor tick lengths for X and Y axes
MajorTickSize = 13
ImVec2, line thickness of major ticks
MinorTickSize = 14
ImVec2, line thickness of minor ticks
MajorGridSize = 15
ImVec2, line thickness of major grid lines
MinorGridSize = 16
ImVec2, line thickness of minor grid lines
PlotPadding = 17
ImVec2, padding between widget frame and plot area and/or labels
LabelPadding = 18
ImVec2, padding between axes labels, tick labels, and plot edge
LegendPadding = 19
ImVec2, legend padding from top-left of plot
LegendInnerPadding = 20
ImVec2, legend inner padding from legend edges
LegendSpacing = 21
ImVec2, spacing between legend entries
MousePosPadding = 22
ImVec2, padding between plot edge and interior info text
AnnotationPadding = 23
ImVec2, text padding around annotation labels
FitPadding = 24
ImVec2, additional fit padding as a percentage of the fit extents (e.g. ImVec2(0.1f,0.1f) adds 10% to the fit extents of X and Y)
PlotDefaultSize = 25
ImVec2, default size used when ImVec2(0,0) is passed to BeginPlot
PlotMinSize = 26
ImVec2, minimum size plot frame can be when shrunk