Package imgui.flag
Class ImDrawFlags
java.lang.Object
imgui.flag.ImDrawFlags
Flags for ImDrawList functions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)static final intDefinition:0static final intDefinition:ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRightstatic final intDefinition:ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRightstatic final intAddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding>0.0f, we default to all corners).static final intAddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding>0.0f, we default to all corners).static final intDefault to ALL corners if none of the _RoundCornersXX flags are specified.static final intDefinition:ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeftstatic final intDefinition:ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNonestatic final intAddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding>0.0f).static final intDefinition:ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRightstatic final intDefinition:ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRightstatic final intAddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding>0.0f, we default to all corners).static final intAddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding>0.0f, we default to all corners). -
Method Summary
-
Field Details
-
None
public static final int NoneDefinition:0- See Also:
-
Closed
public static final int ClosedPathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)Definition:
1 << 0- See Also:
-
RoundCornersTopLeft
public static final int RoundCornersTopLeftAddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding>0.0f, we default to all corners). Was 0x01.Definition:
1 << 4- See Also:
-
RoundCornersTopRight
public static final int RoundCornersTopRightAddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding>0.0f, we default to all corners). Was 0x02.Definition:
1 << 5- See Also:
-
RoundCornersBottomLeft
public static final int RoundCornersBottomLeftAddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding>0.0f, we default to all corners). Was 0x04.Definition:
1 << 6- See Also:
-
RoundCornersBottomRight
public static final int RoundCornersBottomRightAddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding>0.0f, we default to all corners). Wax 0x08.Definition:
1 << 7- See Also:
-
RoundCornersNone
public static final int RoundCornersNoneAddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding>0.0f). This is NOT zero, NOT an implicit flag!Definition:
1 << 8- See Also:
-
RoundCornersTop
public static final int RoundCornersTopDefinition:ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight- See Also:
-
RoundCornersBottom
public static final int RoundCornersBottomDefinition:ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight- See Also:
-
RoundCornersLeft
public static final int RoundCornersLeftDefinition:ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft- See Also:
-
RoundCornersRight
public static final int RoundCornersRightDefinition:ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight- See Also:
-
RoundCornersAll
public static final int RoundCornersAllDefinition:ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight- See Also:
-
RoundCornersDefault_
public static final int RoundCornersDefault_Default to ALL corners if none of the _RoundCornersXX flags are specified.Definition:
ImDrawFlags_RoundCornersAll- See Also:
-
RoundCornersMask_
public static final int RoundCornersMask_Definition:ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone- See Also:
-