enum
ImGui::ImDrawFlags
Overview
Defined in:
types.crEnum Members
-
None =
0 -
Closed =
1 -
PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)
-
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.
-
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.
-
RoundCornersNone =
256 -
AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!
-
RoundCornersTop =
48 -
RoundCornersBottom =
192 -
RoundCornersLeft =
80 -
RoundCornersRight =
160 -
RoundCornersAll =
240 -
RoundCornersDefault_ =
240 -
Default to ALL corners if none of the _RoundCornersXX flags are specified.
-
RoundCornersMask_ =
496 -
All =
497
Instance Method Summary
-
#closed?
Returns
trueif this enum value containsClosed -
#none?
Returns
trueif this enum value containsNone -
#round_corners_all?
Returns
trueif this enum value containsRoundCornersAll -
#round_corners_bottom?
Returns
trueif this enum value containsRoundCornersBottom -
#round_corners_bottom_left?
Returns
trueif this enum value containsRoundCornersBottomLeft -
#round_corners_bottom_right?
Returns
trueif this enum value containsRoundCornersBottomRight -
#round_corners_default_?
Returns
trueif this enum value containsRoundCornersDefault_ -
#round_corners_left?
Returns
trueif this enum value containsRoundCornersLeft -
#round_corners_mask_?
Returns
trueif this enum value containsRoundCornersMask_ -
#round_corners_none?
Returns
trueif this enum value containsRoundCornersNone -
#round_corners_right?
Returns
trueif this enum value containsRoundCornersRight -
#round_corners_top?
Returns
trueif this enum value containsRoundCornersTop -
#round_corners_top_left?
Returns
trueif this enum value containsRoundCornersTopLeft -
#round_corners_top_right?
Returns
trueif this enum value containsRoundCornersTopRight