public final class ImDrawFlags
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
Closed
PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)
|
static int |
None
Definition:
0 |
static int |
RoundCornersAll
Definition:
ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight |
static int |
RoundCornersBottom
Definition:
ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight |
static int |
RoundCornersBottomLeft
AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding
> 0.0f, we default to all corners). |
static int |
RoundCornersBottomRight
AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding
> 0.0f, we default to all corners). |
static int |
RoundCornersDefault_
Default to ALL corners if none of the _RoundCornersXX flags are specified.
|
static int |
RoundCornersLeft
Definition:
ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft |
static int |
RoundCornersMask_
Definition:
ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone |
static int |
RoundCornersNone
AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding
> 0.0f). |
static int |
RoundCornersRight
Definition:
ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight |
static int |
RoundCornersTop
Definition:
ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight |
static int |
RoundCornersTopLeft
AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding
> 0.0f, we default to all corners). |
static int |
RoundCornersTopRight
AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding
> 0.0f, we default to all corners). |
public static final int None
0
public static final int Closed
Definition: 1 << 0
public static final int RoundCornersTopLeft
>
0.0f, we default to all corners). Was 0x01.
Definition: 1 << 4
public static final int RoundCornersTopRight
>
0.0f, we default to all corners). Was 0x02.
Definition: 1 << 5
public static final int RoundCornersBottomLeft
>
0.0f, we default to all corners). Was 0x04.
Definition: 1 << 6
public static final int RoundCornersBottomRight
>
0.0f, we default to all corners). Wax 0x08.
Definition: 1 << 7
public static final int RoundCornersNone
>
0.0f). This is NOT zero, NOT an implicit flag!
Definition: 1 << 8
public static final int RoundCornersTop
ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight
public static final int RoundCornersBottom
ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight
public static final int RoundCornersLeft
ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft
public static final int RoundCornersRight
ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight
public static final int RoundCornersAll
ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight
public static final int RoundCornersDefault_
Definition: ImDrawFlags_RoundCornersAll
public static final int RoundCornersMask_
ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone