Class Drawing.PrimitiveDrawingContext
java.lang.Object
com.pixelmonmod.api.client.screen.render.Drawing.PrimitiveDrawingContext
- Enclosing class:
- Drawing
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
line
(float x1, float y1, float x2, float y2, float z, IntUnaryOperator vertexColor) void
void
void
quad
(float x1, float y1, float x2, float y2, float z, IntUnaryOperator vertexColor) void
quad
(float x1, float y1, float x2, float y2, float z, IntUnaryOperator vertexColor, boolean flip) void
quadWithHoverColor
(WidgetRenderState<?> state, float x1, float y1, float x2, float y2, float z, Color color, Color hover, boolean flip) void
star
(float x, float y, float z, float innerRadius, float outerRadius, int points, IntBinaryOperator vertexColor) void
void
void
triangle
(float x1, float y1, float x2, float y2, float z, IntUnaryOperator vertexColor) void
triangle
(float x1, float y1, float x2, float y2, float z, IntUnaryOperator vertexColor, boolean flip)
-
Method Details
-
quad
-
quad
-
quad
-
quadWithHoverColor
public void quadWithHoverColor(WidgetRenderState<?> state, float x1, float y1, float x2, float y2, float z, Color color, Color hover, boolean flip) -
quad
public void quad(float x1, float y1, float x2, float y2, float z, IntUnaryOperator vertexColor, boolean flip) -
triangle
-
triangle
-
triangle
-
triangle
public void triangle(float x1, float y1, float x2, float y2, float z, IntUnaryOperator vertexColor, boolean flip) -
star
public void star(float x, float y, float z, float innerRadius, float outerRadius, int points, IntBinaryOperator vertexColor) -
line
-
line
-