Class ImRect

java.lang.Object
imgui.internal.ImRect
All Implemented Interfaces:
Cloneable

public final class ImRect extends Object implements Cloneable
Helper: ImRect (2D axis aligned bounding-box) NB: we can't rely on ImVec2 math operators being available here!
  • Field Details

    • min

      public final ImVec2 min
      Upper-left
    • max

      public final ImVec2 max
      Lower-right
  • Constructor Details

    • ImRect

      public ImRect()
    • ImRect

      public ImRect(float minX, float minY, float maxX, float maxY)
    • ImRect

      public ImRect(ImVec2 min, ImVec2 max)
    • ImRect

      public ImRect(ImRect value)
  • Method Details

    • set

      public void set(float minX, float minY, float maxX, float maxY)
    • set

      public void set(ImVec2 min, ImVec2 max)
    • set

      public void set(ImRect value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ImRect clone()
      Overrides:
      clone in class Object