alias ImGui::TopLevel::ImDrawFlags

Alias Definition

ImGui::ImDrawFlags

Defined in:

types.cr

Constant Summary

Closed = 1

PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)

None = 0
RoundCornersAll = 240
RoundCornersBottom = 192
RoundCornersBottomLeft = 64

AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04.

RoundCornersBottomRight = 128

AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08.

RoundCornersDefault_ = 240

Default to ALL corners if none of the _RoundCornersXX flags are specified.

RoundCornersLeft = 80
RoundCornersMask_ = 496
RoundCornersNone = 256

AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!

RoundCornersRight = 160
RoundCornersTop = 48
RoundCornersTopLeft = 16

AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01.

RoundCornersTopRight = 32

AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02.