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

Method draw

forge-gui-mobile/src/forge/assets/FSkinBorder.java:22–28  ·  view source on GitHub ↗
(Graphics g, float x, float y, float w, float h)

Source from the content-addressed store, hash-verified

20 }
21
22 public void draw(Graphics g, float x, float y, float w, float h) {
23 x -= thickness;
24 y -= thickness;
25 w += 2 * thickness;
26 h += 2 * thickness;
27 g.fillRect(color, x, y, w, h); //draw filled rectangle behind object
28 }
29}

Callers

nothing calls this directly

Calls 1

fillRectMethod · 0.80

Tested by

no test coverage detected