public final class ImPlotLimits extends ImGuiStructDestroyable
ptr| Constructor and Description |
|---|
ImPlotLimits() |
ImPlotLimits(double xMin,
double xMax,
double yMin,
double yMax) |
ImPlotLimits(long ptr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(double x,
double y) |
boolean |
contains(ImPlotPoint plotPoint) |
protected long |
create() |
protected long |
create(double xMin,
double xMax,
double yMin,
double yMax) |
ImPlotRange |
getX() |
ImPlotRange |
getY() |
ImPlotPoint |
max()
The returned ImPlotPoint should be manually deallocated with destroy()!
|
ImVec2 |
maxVec()
Returns the same as max(), but instead as an ImVec2.
|
ImPlotPoint |
min()
The returned ImPlotPoint should be manually deallocated with destroy()!
|
ImVec2 |
minVec()
Returns the same as min(), but instead as an ImVec2.
|
void |
setX(ImPlotRange value) |
void |
setY(ImPlotRange value) |
destroyisNotValidPtr, isValidPtrpublic ImPlotLimits(long ptr)
public ImPlotLimits()
public ImPlotLimits(double xMin,
double xMax,
double yMin,
double yMax)
protected long create()
create in class ImGuiStructDestroyableprotected long create(double xMin,
double xMax,
double yMin,
double yMax)
public boolean contains(ImPlotPoint plotPoint)
public boolean contains(double x,
double y)
public ImVec2 minVec()
public ImPlotPoint min()
public ImPlotPoint max()
public ImVec2 maxVec()
public ImPlotRange getX()
public ImPlotRange getY()
public void setX(ImPlotRange value)
public void setY(ImPlotRange value)