public final class ImNodesStyle extends ImGuiStruct
ptr
Constructor and Description |
---|
ImNodesStyle(long ptr) |
Modifier and Type | Method and Description |
---|---|
void |
addFlags(int flags)
By default, ImNodesStyleFlags_NodeOutline and ImNodesStyleFlags_Gridlines are enabled.
|
int[] |
getColors() |
int |
getColors(int idx) |
int |
getFlags()
By default, ImNodesStyleFlags_NodeOutline and ImNodesStyleFlags_Gridlines are enabled.
|
float |
getGridSpacing() |
float |
getLinkHoverDistance() |
float |
getLinkLineSegmentsPerLength() |
float |
getLinkThickness() |
ImVec2 |
getMiniMapOffset()
Mini-map offset from the screen side.
|
void |
getMiniMapOffset(ImVec2 dst)
Mini-map offset from the screen side.
|
float |
getMiniMapOffsetX()
Mini-map offset from the screen side.
|
float |
getMiniMapOffsetY()
Mini-map offset from the screen side.
|
ImVec2 |
getMiniMapPadding()
Mini-map padding size between mini-map edge and mini-map content.
|
void |
getMiniMapPadding(ImVec2 dst)
Mini-map padding size between mini-map edge and mini-map content.
|
float |
getMiniMapPaddingX()
Mini-map padding size between mini-map edge and mini-map content.
|
float |
getMiniMapPaddingY()
Mini-map padding size between mini-map edge and mini-map content.
|
float |
getNodeBorderThickness() |
float |
getNodeCornerRounding() |
ImVec2 |
getNodePadding() |
void |
getNodePadding(ImVec2 dst) |
float |
getNodePaddingX() |
float |
getNodePaddingY() |
float |
getPinCircleRadius()
The circle radius used when the pin shape is either PinShape_Circle or PinShape_CircleFilled.
|
float |
getPinHoverRadius()
The radius from the pin's center position inside of which it is detected as being hovered over.
|
float |
getPinLineThickness()
The thickness of the line used when the pin shape is not filled.
|
float |
getPinOffset()
Offsets the pins' positions from the edge of the node to the outside of the node.
|
float |
getPinQuadSideLength()
The quad side length used when the shape is either PinShape_Quad or PinShape_QuadFilled.
|
float |
getPinTriangleSideLength()
The equilateral triangle side length used when the pin shape is either PinShape_Triangle or PinShape_TriangleFilled.
|
boolean |
hasFlags(int flags)
By default, ImNodesStyleFlags_NodeOutline and ImNodesStyleFlags_Gridlines are enabled.
|
void |
removeFlags(int flags)
By default, ImNodesStyleFlags_NodeOutline and ImNodesStyleFlags_Gridlines are enabled.
|
void |
setColors(int[] value) |
void |
setColors(int idx,
int value) |
void |
setFlags(int value)
By default, ImNodesStyleFlags_NodeOutline and ImNodesStyleFlags_Gridlines are enabled.
|
void |
setGridSpacing(float value) |
void |
setLinkHoverDistance(float value) |
void |
setLinkLineSegmentsPerLength(float value) |
void |
setLinkThickness(float value) |
void |
setMiniMapOffset(float valueX,
float valueY)
Mini-map offset from the screen side.
|
void |
setMiniMapOffset(ImVec2 value)
Mini-map offset from the screen side.
|
void |
setMiniMapPadding(float valueX,
float valueY)
Mini-map padding size between mini-map edge and mini-map content.
|
void |
setMiniMapPadding(ImVec2 value)
Mini-map padding size between mini-map edge and mini-map content.
|
void |
setNodeBorderThickness(float value) |
void |
setNodeCornerRounding(float value) |
void |
setNodePadding(float valueX,
float valueY) |
void |
setNodePadding(ImVec2 value) |
void |
setPinCircleRadius(float value)
The circle radius used when the pin shape is either PinShape_Circle or PinShape_CircleFilled.
|
void |
setPinHoverRadius(float value)
The radius from the pin's center position inside of which it is detected as being hovered over.
|
void |
setPinLineThickness(float value)
The thickness of the line used when the pin shape is not filled.
|
void |
setPinOffset(float value)
Offsets the pins' positions from the edge of the node to the outside of the node.
|
void |
setPinQuadSideLength(float value)
The quad side length used when the shape is either PinShape_Quad or PinShape_QuadFilled.
|
void |
setPinTriangleSideLength(float value)
The equilateral triangle side length used when the pin shape is either PinShape_Triangle or PinShape_TriangleFilled.
|
isNotValidPtr, isValidPtr
public float getGridSpacing()
public void setGridSpacing(float value)
public float getNodeCornerRounding()
public void setNodeCornerRounding(float value)
public ImVec2 getNodePadding()
public float getNodePaddingX()
public float getNodePaddingY()
public void getNodePadding(ImVec2 dst)
public void setNodePadding(ImVec2 value)
public void setNodePadding(float valueX, float valueY)
public float getNodeBorderThickness()
public void setNodeBorderThickness(float value)
public float getLinkThickness()
public void setLinkThickness(float value)
public float getLinkLineSegmentsPerLength()
public void setLinkLineSegmentsPerLength(float value)
public float getLinkHoverDistance()
public void setLinkHoverDistance(float value)
public float getPinCircleRadius()
public void setPinCircleRadius(float value)
public float getPinQuadSideLength()
public void setPinQuadSideLength(float value)
public float getPinTriangleSideLength()
public void setPinTriangleSideLength(float value)
public float getPinLineThickness()
public void setPinLineThickness(float value)
public float getPinHoverRadius()
public void setPinHoverRadius(float value)
public float getPinOffset()
public void setPinOffset(float value)
public ImVec2 getMiniMapPadding()
public float getMiniMapPaddingX()
public float getMiniMapPaddingY()
public void getMiniMapPadding(ImVec2 dst)
public void setMiniMapPadding(ImVec2 value)
public void setMiniMapPadding(float valueX, float valueY)
public ImVec2 getMiniMapOffset()
public float getMiniMapOffsetX()
public float getMiniMapOffsetY()
public void getMiniMapOffset(ImVec2 dst)
public void setMiniMapOffset(ImVec2 value)
public void setMiniMapOffset(float valueX, float valueY)
public int getFlags()
public void setFlags(int value)
public void addFlags(int flags)
public void removeFlags(int flags)
public boolean hasFlags(int flags)
public int[] getColors()
public int getColors(int idx)
public void setColors(int[] value)
public void setColors(int idx, int value)