Class LineSegment
java.lang.Object
com.portingdeadmods.researchd.client.screens.research.graph.lines.LineSegment
- All Implemented Interfaces:
net.minecraft.client.gui.components.Renderable
Represents a line segment between two points
-
Constructor Details
-
LineSegment
-
-
Method Details
-
a
- Returns:
- The starting point of the line
-
b
- Returns:
- The ending point of the line
-
isVertical
public boolean isVertical() -
isHorizontal
public boolean isHorizontal() -
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int color) -
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int i, int i1, float v) - Specified by:
renderin interfacenet.minecraft.client.gui.components.Renderable
-