public final class ImNodesStyle extends ImGuiStruct
ptr
Constructor and Description |
---|
ImNodesStyle(long ptr) |
Modifier and Type | Method and Description |
---|---|
int |
getFlags() |
float |
getGridSpacing() |
float |
getLinkHoverDistance() |
float |
getLinkLineSegmentsPerLength() |
float |
getLinkThickness() |
float |
getNodeBorderThickness() |
float |
getNodeCornerRounding() |
float |
getNodePaddingHorizontal() |
float |
getNodePaddingVertical() |
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.
|
void |
setFlags(int imNodesStyleFlags) |
void |
setGridSpacing(float gridSpacing) |
void |
setLinkHoverDistance(float linkHoverDistance) |
void |
setLinkLineSegmentsPerLength(float linkLineSegmentsPerLength) |
void |
setLinkThickness(float linkThickness) |
void |
setNodeBorderThickness(float nodeBorderThickness) |
void |
setNodeCornerRounding(float nodeCornerRounding) |
void |
setNodePaddingHorizontal(float nodePaddingHorizontal) |
void |
setNodePaddingVertical(float nodePaddingVertical) |
void |
setPinCircleRadius(float pinCircleRadius)
The circle radius used when the pin shape is either PinShape_Circle or PinShape_CircleFilled.
|
void |
setPinHoverRadius(float pinHoverRadius)
The radius from the pin's center position inside of which it is detected as being hovered over.
|
void |
setPinLineThickness(float pinLineThickness)
The thickness of the line used when the pin shape is not filled.
|
void |
setPinOffset(float pinOffset)
Offsets the pins' positions from the edge of the node to the outside of the node.
|
void |
setPinQuadSideLength(float pinQuadSideLength)
The quad side length used when the shape is either PinShape_Quad or PinShape_QuadFilled.
|
void |
setPinTriangleSideLength(float pinTriangleSideLength)
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 gridSpacing)
public float getNodeCornerRounding()
public void setNodeCornerRounding(float nodeCornerRounding)
public float getNodePaddingHorizontal()
public void setNodePaddingHorizontal(float nodePaddingHorizontal)
public float getNodePaddingVertical()
public void setNodePaddingVertical(float nodePaddingVertical)
public float getNodeBorderThickness()
public void setNodeBorderThickness(float nodeBorderThickness)
public float getLinkThickness()
public void setLinkThickness(float linkThickness)
public float getLinkLineSegmentsPerLength()
public void setLinkLineSegmentsPerLength(float linkLineSegmentsPerLength)
public float getLinkHoverDistance()
public void setLinkHoverDistance(float linkHoverDistance)
public float getPinCircleRadius()
public void setPinCircleRadius(float pinCircleRadius)
public float getPinQuadSideLength()
public void setPinQuadSideLength(float pinQuadSideLength)
public float getPinTriangleSideLength()
public void setPinTriangleSideLength(float pinTriangleSideLength)
public float getPinLineThickness()
public void setPinLineThickness(float pinLineThickness)
public float getPinHoverRadius()
public void setPinHoverRadius(float pinHoverRadius)
public float getPinOffset()
public void setPinOffset(float pinOffset)
public int getFlags()
public void setFlags(int imNodesStyleFlags)