MCPcopy Create free account
hub / github.com/Card-Forge/forge / drawRectLines

Method drawRectLines

forge-gui-mobile/src/forge/Graphics.java:562–567  ·  view source on GitHub ↗
(float thickness, Color color, float x, float y, float w, float h)

Source from the content-addressed store, hash-verified

560 }
561
562 public void drawRectLines(float thickness, Color color, float x, float y, float w, float h) {
563 drawLine(thickness, color, x, y, x + w, y);
564 drawLine(thickness, color, x + thickness / 2f, y + thickness / 2f, x + thickness / 2f, y + h - thickness / 2f);
565 drawLine(thickness, color, x, y + h, x + w, y + h);
566 drawLine(thickness, color, x + w - thickness / 2f, y + thickness / 2f, x + w - thickness / 2f, y + h - thickness / 2f);
567 }
568
569 public void fillRect(FSkinColor skinColor, float x, float y, float w, float h) {
570 fillRect(skinColor.getColor(), x, y, w, h);

Callers

nothing calls this directly

Calls 1

drawLineMethod · 0.95

Tested by

no test coverage detected