IStitchRenderer

public interface IStitchRenderer {

    void rectangle2D(StitchRenderStack stack, float x, float y, float width, float height, Color color);

    void rectangleBatch2D(StitchRenderStack stack, Consumer<IStitchRectanglePublisher> consumer);

    void roundRectangle2D(StitchRenderStack stack, float x, float y, float width, float height, float radius, Color color);

    void roundRectangleBatch2D(StitchRenderStack stack, Consumer<IStitchRoundRectanglePublisher> consumer);

    void minecraftText2D(String text, float x, float y, boolean shadow, Color color);

    float minecraftTextWidth(String text);

    void customText2D(StitchFontType font, String text, float x, float y, float scale, boolean shadow, Color color);

    float customTextWidth(StitchFontType font, String text, float scale);

    void playerHead2D(StitchRenderStack stack, EntityPlayer player, float x, float y, float size, float roundness);

    void playerModel2D(EntityPlayer player, float x, float y, float scale, float mouseX, float mouseY);

    void boundingBox3D(StitchRenderStack stack, AxisAlignedBB box, Color color);

    void circle3D(StitchRenderStack stack, float x, float y, float z, float radius, float thickness, Color color);

    void line2D(StitchRenderStack stack, float x, float y, float x2, float y2, float thickness, Color color);

    void lines3D(StitchRenderStack stack, Collection<Vector3f> positions, float thickness, Color color);

    void setTextureColor(Color color);

    void resetTextureColor();

    Vector2f worldToScreen(Vector3d worldPosition);

}

Last updated