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

Method fillTriangle

forge-gui-mobile/src/forge/Graphics.java:651–653  ·  view source on GitHub ↗
(FSkinColor skinColor, float x1, float y1, float x2, float y2, float x3, float y3)

Source from the content-addressed store, hash-verified

649 }
650
651 public void fillTriangle(FSkinColor skinColor, float x1, float y1, float x2, float y2, float x3, float y3) {
652 fillTriangle(skinColor.getColor(), x1, y1, x2, y2, x3, y3);
653 }
654
655 public void fillTriangle(Color color, float x1, float y1, float x2, float y2, float x3, float y3) {
656 batch.end(); //must pause batch while rendering shapes

Callers 7

drawChevronMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawOverlayMethod · 0.80
drawMethod · 0.80
drawOverlayMethod · 0.80
drawMethod · 0.80

Calls 9

alphaColorMethod · 0.95
startShapeMethod · 0.95
adjustXMethod · 0.95
adjustYMethod · 0.95
endShapeMethod · 0.95
getColorMethod · 0.65
endMethod · 0.45
setColorMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected