Package imgui.flag

Class ImDrawFlags

java.lang.Object
imgui.flag.ImDrawFlags

public final class ImDrawFlags extends Object
Flags for ImDrawList functions
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)
    static final int
    Definition: 0
    static final int
    Definition: ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight
    static final int
    Definition: ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight
    static final int
    AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding>0.0f, we default to all corners).
    static final int
    AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding>0.0f, we default to all corners).
    static final int
    Default to ALL corners if none of the _RoundCornersXX flags are specified.
    static final int
    Definition: ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft
    static final int
    Definition: ImDrawFlags_RoundCornersAll | ImDrawFlags_RoundCornersNone
    static final int
    AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding>0.0f).
    static final int
    Definition: ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight
    static final int
    Definition: ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight
    static final int
    AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding>0.0f, we default to all corners).
    static final int
    AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding>0.0f, we default to all corners).
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • None

      public static final int None
      Definition: 0
      See Also:
    • Closed

      public static final int Closed
      PathStroke(), 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 RoundCornersTopLeft
      AddRect(), 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 RoundCornersTopRight
      AddRect(), 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 RoundCornersBottomLeft
      AddRect(), 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 RoundCornersBottomRight
      AddRect(), 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 RoundCornersNone
      AddRect(), 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 RoundCornersTop
      Definition: ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight
      See Also:
    • RoundCornersBottom

      public static final int RoundCornersBottom
      Definition: ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight
      See Also:
    • RoundCornersLeft

      public static final int RoundCornersLeft
      Definition: ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft
      See Also:
    • RoundCornersRight

      public static final int RoundCornersRight
      Definition: ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight
      See Also:
    • RoundCornersAll

      public static final int RoundCornersAll
      Definition: 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: